Compare commits
334
Commits
v0.0.1-alpha
...
v0.14.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
05bb3e2737 | ||
|
|
35172a5892 | ||
|
|
548f9da3da | ||
|
|
0816171709 | ||
|
|
7eb30b3d0c | ||
|
|
a7ff7fcfcc | ||
|
|
0cb4c401f9 | ||
|
|
794f1f1c82 | ||
|
|
07c5a51358 | ||
|
|
4d09b077af | ||
|
|
448346613d | ||
|
|
18124403ef | ||
|
|
d75dc5c699 | ||
|
|
fb4557764f | ||
|
|
179b04a227 | ||
|
|
4160e15e01 | ||
|
|
325a50fddf | ||
|
|
a0f29a6a70 | ||
|
|
78067af571 | ||
|
|
82b14ea954 | ||
|
|
5a42a67045 | ||
|
|
4c4b18d022 | ||
|
|
4ac4874235 | ||
|
|
39ddb7ea3c | ||
|
|
becedbe194 | ||
|
|
8d715979a5 | ||
|
|
0bbc399566 | ||
|
|
c3e9f11b88 | ||
|
|
29a51560a0 | ||
|
|
63d4712c8e | ||
|
|
17fcd6738a | ||
|
|
8bdd229db4 | ||
|
|
f8f53f2697 | ||
|
|
7c6eb4d428 | ||
|
|
87ef467245 | ||
|
|
096ffb1009 | ||
|
|
e1aa9aa842 | ||
|
|
92c570f644 | ||
|
|
83a5533ce8 | ||
|
|
d81094e0bb | ||
|
|
6432ab89ec | ||
|
|
212d698b9e | ||
|
|
11ca922c11 | ||
|
|
6d77216d51 | ||
|
|
aab8ddc2e1 | ||
|
|
e28dbbcc1a | ||
|
|
ca81225745 | ||
|
|
86098576f9 | ||
|
|
cf07f19aac | ||
|
|
de9868fec5 | ||
|
|
183e4543f0 | ||
|
|
e9d88d2cd2 | ||
|
|
04713e1ba5 | ||
|
|
4c723cdbf1 | ||
|
|
f85a4f0a1f | ||
|
|
6df3a17c0b | ||
|
|
36a8ba5be7 | ||
|
|
8f96c70f61 | ||
|
|
94284e7f8f | ||
|
|
a9c166e8c3 | ||
|
|
2d4cef9498 | ||
|
|
df27f06c4c | ||
|
|
470ef5348c | ||
|
|
b06b25b3a9 | ||
|
|
b1cf5ef149 | ||
|
|
ae0f540de6 | ||
|
|
d0283d56e1 | ||
|
|
d0ef5ceb32 | ||
|
|
56817831e7 | ||
|
|
b5f649ea34 | ||
|
|
11c14ec079 | ||
|
|
7714bd7103 | ||
|
|
685060e39b | ||
|
|
079231d9b1 | ||
|
|
bba27d8790 | ||
|
|
9bec0aa701 | ||
|
|
db9db8b054 | ||
|
|
b26fa89119 | ||
|
|
fc90cd00ae | ||
|
|
99a8f1cce5 | ||
|
|
ffb129f99b | ||
|
|
b7dfff4f55 | ||
|
|
7495b77789 | ||
|
|
6477c943d8 | ||
|
|
f735e5b8d4 | ||
|
|
9a2388513f | ||
|
|
def2cc69d1 | ||
|
|
1895498936 | ||
|
|
1747f5ecb6 | ||
|
|
de0b58be9a | ||
|
|
0fd1c83690 | ||
|
|
36e7e65a2c | ||
|
|
305d0f6cdc | ||
|
|
9be1fe44ff | ||
|
|
b9a6b86352 | ||
|
|
67d05cff4e | ||
|
|
edd2434c56 | ||
|
|
1a70dc74d3 | ||
|
|
c8cb9553a8 | ||
|
|
a361bf5f9c | ||
|
|
e2de7a42ac | ||
|
|
21a14457b5 | ||
|
|
1ce15093f0 | ||
|
|
485b7794c3 | ||
|
|
6db6d4b8a5 | ||
|
|
b9af92bfeb | ||
|
|
d9c0e70047 | ||
|
|
f3a14818dc | ||
|
|
fe10b1be92 | ||
|
|
b7c2989615 | ||
|
|
7dc97cebdd | ||
|
|
4c59f6862d | ||
|
|
611c4f1458 | ||
|
|
5ad6b6fb34 | ||
|
|
c9d1e562f6 | ||
|
|
89335379b3 | ||
|
|
892a452d9d | ||
|
|
9a2992593e | ||
|
|
201ef47467 | ||
|
|
7b84a2fc9c | ||
|
|
d2fbfec7b9 | ||
|
|
0898c61a0e | ||
|
|
ee054161ef | ||
|
|
efe9535b60 | ||
|
|
22b9c4207f | ||
|
|
6fdb5981e4 | ||
|
|
c3b0a7b89c | ||
|
|
ca84c1d329 | ||
|
|
4277f8107c | ||
|
|
7c86c64086 | ||
|
|
e1e8f8888f | ||
|
|
3646c87015 | ||
|
|
4babee4311 | ||
|
|
adc779dda9 | ||
|
|
caccbbd742 | ||
|
|
02cef63c3b | ||
|
|
16c82a9a0d | ||
|
|
f23341baa3 | ||
|
|
253faf0254 | ||
|
|
43eeecbaf0 | ||
|
|
4f80ec9a7e | ||
|
|
caf41dd969 | ||
|
|
2cf0f64296 | ||
|
|
e476c7b5e5 | ||
|
|
0d9513543b | ||
|
|
87f15fa10a | ||
|
|
129b6a6116 | ||
|
|
59b9961ad3 | ||
|
|
725d963abd | ||
|
|
6df05c91dd | ||
|
|
f66cf711b5 | ||
|
|
dd3fb38356 | ||
|
|
6a81e5f2fe | ||
|
|
7da3645d02 | ||
|
|
6aef5c1d19 | ||
|
|
a18a26d97c | ||
|
|
f58d5d2190 | ||
|
|
9d82212aa2 | ||
|
|
4f88eb1b77 | ||
|
|
b7c2931fab | ||
|
|
e591364f74 | ||
|
|
0f2c580833 | ||
|
|
7bf90c9acd | ||
|
|
bfa9ccaff9 | ||
|
|
328b5f42e4 | ||
|
|
ffaa55d50d | ||
|
|
f9cad9748c | ||
|
|
c2db5953be | ||
|
|
7d3fcd16b1 | ||
|
|
ba08261533 | ||
|
|
39f4a468ec | ||
|
|
44e1da8ffc | ||
|
|
0b3b2fd3f4 | ||
|
|
778c278797 | ||
|
|
a1d3806ef0 | ||
|
|
38ef4858ed | ||
|
|
5930bcae89 | ||
|
|
6afdac7fb2 | ||
|
|
d72f7b733d | ||
|
|
82394ad91a | ||
|
|
1ceb4dca1f | ||
|
|
1257e14358 | ||
|
|
d7bbf6f62d | ||
|
|
719ed6c5c8 | ||
|
|
e1d3286904 | ||
|
|
8e9b21508a | ||
|
|
0a32082548 | ||
|
|
9984393bed | ||
|
|
33eb902312 | ||
|
|
f7c788aad7 | ||
|
|
8eda2718f0 | ||
|
|
789037f2c7 | ||
|
|
360113d3d6 | ||
|
|
1d9cc0869f | ||
|
|
f9d7154d7a | ||
|
|
c2378723cc | ||
|
|
1305b65608 | ||
|
|
01f0bb770c | ||
|
|
40f94a5469 | ||
|
|
ddca99b9e0 | ||
|
|
0da6246d5f | ||
|
|
614f5161b9 | ||
|
|
7d543d820e | ||
|
|
b165d2da94 | ||
|
|
7d502fb490 | ||
|
|
72945abec0 | ||
|
|
0ecac9e82b | ||
|
|
28104aba1a | ||
|
|
a8e5e5fc8c | ||
|
|
7c22f8ea77 | ||
|
|
2a0cd5ac67 | ||
|
|
6bcc5732ad | ||
|
|
a747e3d487 | ||
|
|
905ca888f7 | ||
|
|
346feb4c89 | ||
|
|
b79b2b67db | ||
|
|
309b13379f | ||
|
|
2bfa2059c6 | ||
|
|
5fa13bb4c2 | ||
|
|
79ff6dd43d | ||
|
|
85654388ad | ||
|
|
5e824ec1d1 | ||
|
|
351a7951d3 | ||
|
|
6df70374b4 | ||
|
|
31d7e9e25e | ||
|
|
fd3a6741f4 | ||
|
|
3da2c37d8f | ||
|
|
8beec5b36a | ||
|
|
249269890b | ||
|
|
7a421a05b0 | ||
|
|
f63c2c8ed1 | ||
|
|
dbe8be24cf | ||
|
|
37e14af7b3 | ||
|
|
272a896162 | ||
|
|
89cfb4b0f7 | ||
|
|
affcdeb308 | ||
|
|
fd20f77abe | ||
|
|
9db9e2dc13 | ||
|
|
c7adce9047 | ||
|
|
88c479d138 | ||
|
|
3f4b220b26 | ||
|
|
26b153e009 | ||
|
|
74ba5f5dfe | ||
|
|
a2de7da836 | ||
|
|
9d195c482b | ||
|
|
052f0dfc56 | ||
|
|
2df0dd701d | ||
|
|
7ec29ceb3f | ||
|
|
dd6b1dd310 | ||
|
|
0852fdc041 | ||
|
|
b89cfbdf62 | ||
|
|
5a3df96377 | ||
|
|
607dc95def | ||
|
|
496bc7de5a | ||
|
|
4cee292395 | ||
|
|
177e12e05a | ||
|
|
fb66d5516e | ||
|
|
e91085f52e | ||
|
|
ab2e8790fc | ||
|
|
888b155e92 | ||
|
|
b21513cf6d | ||
|
|
697ad8ac69 | ||
|
|
86558276bd | ||
|
|
f09b54b9f1 | ||
|
|
9a2a34575f | ||
|
|
80ce9f4a44 | ||
|
|
2a7074cb01 | ||
|
|
e4cec99286 | ||
|
|
cb744463de | ||
|
|
8cdf3a9270 | ||
|
|
6f6b82b8ab | ||
|
|
b4c2309245 | ||
|
|
eded83cd85 | ||
|
|
d10555b847 | ||
|
|
70c5f8e6c6 | ||
|
|
b71e3f6170 | ||
|
|
dc52b22574 | ||
|
|
cf1f458a77 | ||
|
|
3b12a08e73 | ||
|
|
5edad665a4 | ||
|
|
ded5fa9968 | ||
|
|
c0a67282ac | ||
|
|
78f15bd65a | ||
|
|
b9f803b1da | ||
|
|
a1985ab177 | ||
|
|
edabd49521 | ||
|
|
fc1eba4ab0 | ||
|
|
8b5b57581a | ||
|
|
c2fb7a2c38 | ||
|
|
a335eafd3e | ||
|
|
b77464958c | ||
|
|
c36808e8ed | ||
|
|
acdfcc71be | ||
|
|
3ceabc6ca6 | ||
|
|
4566dd2984 | ||
|
|
fbc56d738f | ||
|
|
14844c3d1e | ||
|
|
e44d691db3 | ||
|
|
ac2816952c | ||
|
|
a941557439 | ||
|
|
dd51b9d694 | ||
|
|
ed715f15c0 | ||
|
|
0ac1dff047 | ||
|
|
6ba190f493 | ||
|
|
764250ff8e | ||
|
|
806300297d | ||
|
|
acc157b7e5 | ||
|
|
526bc5adbd | ||
|
|
295e73be33 | ||
|
|
942c0a9d57 | ||
|
|
c2d01fc7fa | ||
|
|
b9183841f1 | ||
|
|
e4ef44012e | ||
|
|
237b545c00 | ||
|
|
e3a1ef2a6b | ||
|
|
7936311f13 | ||
|
|
988816acfe | ||
|
|
88da5aad5b | ||
|
|
08d37dff0f | ||
|
|
0d2cc1c282 | ||
|
|
ed76daa080 | ||
|
|
71f4282336 | ||
|
|
788ee3d5db | ||
|
|
9a13451865 | ||
|
|
b9b369876e | ||
|
|
4e3b8d7ca1 | ||
|
|
36227149f9 | ||
|
|
9291d96b1d | ||
|
|
6c9567f939 | ||
|
|
d1b84db80a | ||
|
|
0e6f705fc8 | ||
|
|
a548384bd6 | ||
|
|
ce6082e11a | ||
|
|
18528ba0b5 |
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"sourceType": "unambiguous",
|
||||
"presets": [
|
||||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"targets": {
|
||||
"chrome": 100
|
||||
}
|
||||
}
|
||||
],
|
||||
"@babel/preset-typescript",
|
||||
"@babel/preset-react"
|
||||
],
|
||||
"plugins": []
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
name: Build Container
|
||||
|
||||
on:
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-deployer-${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build-and-release:
|
||||
name: "Build"
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
steps:
|
||||
- name: Check out Code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Read .nvmrc
|
||||
id: node_version
|
||||
run: echo "$(cat .nvmrc)" && echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ env.NVMRC }}
|
||||
cache: "yarn"
|
||||
cache-dependency-path: yarn.lock
|
||||
|
||||
- name: Log in to private Docker registry
|
||||
run: echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login ${{ secrets.REGISTRY_URL }} -u '${{ secrets.REGISTRY_USERNAME }}' --password-stdin
|
||||
|
||||
- name: Build Storybook
|
||||
run: |
|
||||
rm -Rf node_modules/
|
||||
rm yarn.lock
|
||||
yarn install
|
||||
yarn build
|
||||
yarn build-storybook
|
||||
docker buildx build --platform linux/amd64 --push -t registry.min.dev/minio/mds .
|
||||
echo "${{ secrets.MDS_DEPLOYER_KUBECONFIG }}" > /tmp/kubecconfig
|
||||
ls -l /tmp/kubecconfig
|
||||
kubectl --kubeconfig /tmp/kubecconfig -n mds delete pod $(kubectl --kubeconfig /tmp/kubecconfig -n mds get pods | grep mds | awk '{print $1}')
|
||||
+11
-18
@@ -20,11 +20,21 @@ jobs:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Check out Code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Read .nvmrc
|
||||
id: node_version
|
||||
run: echo "$(cat .nvmrc)" && echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ env.NVMRC }}
|
||||
|
||||
- name: Install Dependencies
|
||||
continue-on-error: false
|
||||
run: |
|
||||
corepack enable
|
||||
yarn install
|
||||
|
||||
- name: Check if build is correct
|
||||
@@ -36,20 +46,3 @@ jobs:
|
||||
continue-on-error: false
|
||||
run: |
|
||||
./check-prettier.sh
|
||||
|
||||
run-components-tests:
|
||||
name: "Components validation tests"
|
||||
needs:
|
||||
- review-warnings-and-build
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install Dependencies
|
||||
run: yarn install
|
||||
|
||||
- name: Run Jest Tests
|
||||
run: yarn test
|
||||
|
||||
@@ -7,6 +7,7 @@ node_modules/
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
.idea/
|
||||
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
|
||||
+22
-1
@@ -1,13 +1,34 @@
|
||||
import remarkGfm from "remark-gfm";
|
||||
|
||||
module.exports = {
|
||||
stories: [
|
||||
"../src/**/**/*.stories.mdx",
|
||||
"../src/**/**/*.stories.@(js|jsx|ts|tsx)",
|
||||
],
|
||||
core: {
|
||||
disableTelemetry: true,
|
||||
},
|
||||
addons: [
|
||||
"@storybook/addon-links",
|
||||
"@storybook/addon-essentials",
|
||||
"@storybook/addon-interactions",
|
||||
"storybook-dark-mode",
|
||||
{
|
||||
name: "@storybook/addon-docs",
|
||||
options: {
|
||||
mdxPluginOptions: {
|
||||
mdxCompileOptions: {
|
||||
remarkPlugins: [remarkGfm],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
framework: "@storybook/react",
|
||||
framework: {
|
||||
name: "@storybook/react-webpack5",
|
||||
options: {},
|
||||
},
|
||||
docs: {
|
||||
autodocs: true,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
FROM nginx:1
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
COPY docs /usr/share/nginx/html
|
||||
@@ -4,7 +4,10 @@ build:
|
||||
@(yarn install; yarn build;)
|
||||
|
||||
lint:
|
||||
@(cd portal-ui; yarn prettier --write . --loglevel warn; cd ..)
|
||||
@(yarn prettier --write . --loglevel warn; cd ..)
|
||||
|
||||
test:
|
||||
@(yarn install; yarn test;)
|
||||
|
||||
test-warnings:
|
||||
./check-warnings.sh
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# MinIO Design Sytem
|
||||
# MinIO Design System
|
||||
|
||||
The MinIO Design System is a design specification for all UI elements used in MinIO products.
|
||||
|
||||
|
||||
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
yell() { echo "$0: $*" >&2; }
|
||||
|
||||
die() {
|
||||
yell "$*"
|
||||
cat yarn.log
|
||||
exit 111
|
||||
}
|
||||
|
||||
try() { "$@" &> yarn.log || die "cannot $*"; }
|
||||
|
||||
rm -f yarn.log
|
||||
try make build
|
||||
|
||||
if cat yarn.log | grep "Compiled with warnings"; then
|
||||
echo "There are warnings in the code"
|
||||
exit 1
|
||||
fi
|
||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 318 KiB |
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
+93
@@ -0,0 +1,93 @@
|
||||
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
Vendored
BIN
Binary file not shown.
Vendored
+174
@@ -0,0 +1,174 @@
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.w-tc-editor {
|
||||
--color-fg-default: #c9d1d9;
|
||||
--color-canvas-subtle: #161b22;
|
||||
--color-prettylights-syntax-comment: #8b949e;
|
||||
--color-prettylights-syntax-entity-tag: #7ee787;
|
||||
--color-prettylights-syntax-entity: #d2a8ff;
|
||||
--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;
|
||||
--color-prettylights-syntax-constant: #79c0ff;
|
||||
--color-prettylights-syntax-string: #a5d6ff;
|
||||
--color-prettylights-syntax-keyword: #ff7b72;
|
||||
--color-prettylights-syntax-markup-bold: #c9d1d9;
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: light) {
|
||||
.w-tc-editor {
|
||||
--color-fg-default: #24292f;
|
||||
--color-canvas-subtle: #f6f8fa;
|
||||
--color-prettylights-syntax-comment: #6e7781;
|
||||
--color-prettylights-syntax-entity-tag: #116329;
|
||||
--color-prettylights-syntax-entity: #8250df;
|
||||
--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;
|
||||
--color-prettylights-syntax-constant: #0550ae;
|
||||
--color-prettylights-syntax-string: #0a3069;
|
||||
--color-prettylights-syntax-keyword: #cf222e;
|
||||
--color-prettylights-syntax-markup-bold: #24292f;
|
||||
}
|
||||
}
|
||||
.w-tc-editor[data-color-mode*="dark"],
|
||||
[data-color-mode*="dark"] .w-tc-editor,
|
||||
[data-color-mode*="dark"] .w-tc-editor-var,
|
||||
body[data-color-mode*="dark"] {
|
||||
--color-fg-default: #c9d1d9;
|
||||
--color-canvas-subtle: #161b22;
|
||||
--color-prettylights-syntax-comment: #8b949e;
|
||||
--color-prettylights-syntax-entity-tag: #7ee787;
|
||||
--color-prettylights-syntax-entity: #d2a8ff;
|
||||
--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;
|
||||
--color-prettylights-syntax-constant: #79c0ff;
|
||||
--color-prettylights-syntax-string: #a5d6ff;
|
||||
--color-prettylights-syntax-keyword: #ff7b72;
|
||||
--color-prettylights-syntax-markup-bold: #c9d1d9;
|
||||
}
|
||||
.w-tc-editor[data-color-mode*="light"],
|
||||
[data-color-mode*="light"] .w-tc-editor,
|
||||
[data-color-mode*="light"] .w-tc-editor-var,
|
||||
body[data-color-mode*="light"] {
|
||||
--color-fg-default: #24292f;
|
||||
--color-canvas-subtle: #f6f8fa;
|
||||
--color-prettylights-syntax-comment: #6e7781;
|
||||
--color-prettylights-syntax-entity-tag: #116329;
|
||||
--color-prettylights-syntax-entity: #8250df;
|
||||
--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;
|
||||
--color-prettylights-syntax-constant: #0550ae;
|
||||
--color-prettylights-syntax-string: #0a3069;
|
||||
--color-prettylights-syntax-keyword: #cf222e;
|
||||
--color-prettylights-syntax-markup-bold: #24292f;
|
||||
}
|
||||
.w-tc-editor {
|
||||
font-family: inherit;
|
||||
font-size: 12px;
|
||||
background-color: var(--color-canvas-subtle);
|
||||
color: var(--color-fg-default);
|
||||
}
|
||||
.w-tc-editor-text,
|
||||
.w-tc-editor-preview {
|
||||
min-height: 16px;
|
||||
}
|
||||
.w-tc-editor-preview pre {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
white-space: inherit;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
}
|
||||
.w-tc-editor-preview pre code {
|
||||
font-family: inherit;
|
||||
}
|
||||
.w-tc-editor code[class*="language-"] .token.cdata,
|
||||
.w-tc-editor pre[class*="language-"] .token.cdata,
|
||||
.w-tc-editor code[class*="language-"] .token.comment,
|
||||
.w-tc-editor pre[class*="language-"] .token.comment,
|
||||
.w-tc-editor code[class*="language-"] .token.doctype,
|
||||
.w-tc-editor pre[class*="language-"] .token.doctype,
|
||||
.w-tc-editor code[class*="language-"] .token.prolog,
|
||||
.w-tc-editor pre[class*="language-"] .token.prolog {
|
||||
color: var(--color-prettylights-syntax-comment);
|
||||
}
|
||||
.w-tc-editor code[class*="language-"] .token.punctuation,
|
||||
.w-tc-editor pre[class*="language-"] .token.punctuation {
|
||||
color: var(--color-prettylights-syntax-sublimelinter-gutter-mark);
|
||||
}
|
||||
.w-tc-editor code[class*="language-"] .namespace,
|
||||
.w-tc-editor pre[class*="language-"] .namespace {
|
||||
opacity: 0.7;
|
||||
}
|
||||
.w-tc-editor code[class*="language-"] .token.boolean,
|
||||
.w-tc-editor pre[class*="language-"] .token.boolean,
|
||||
.w-tc-editor code[class*="language-"] .token.constant,
|
||||
.w-tc-editor pre[class*="language-"] .token.constant,
|
||||
.w-tc-editor code[class*="language-"] .token.deleted,
|
||||
.w-tc-editor pre[class*="language-"] .token.deleted,
|
||||
.w-tc-editor code[class*="language-"] .token.number,
|
||||
.w-tc-editor pre[class*="language-"] .token.number,
|
||||
.w-tc-editor code[class*="language-"] .token.symbol,
|
||||
.w-tc-editor pre[class*="language-"] .token.symbol {
|
||||
color: var(--color-prettylights-syntax-entity-tag);
|
||||
}
|
||||
.w-tc-editor code[class*="language-"] .token.builtin,
|
||||
.w-tc-editor pre[class*="language-"] .token.builtin,
|
||||
.w-tc-editor code[class*="language-"] .token.char,
|
||||
.w-tc-editor pre[class*="language-"] .token.char,
|
||||
.w-tc-editor code[class*="language-"] .token.inserted,
|
||||
.w-tc-editor pre[class*="language-"] .token.inserted,
|
||||
.w-tc-editor code[class*="language-"] .token.selector,
|
||||
.w-tc-editor pre[class*="language-"] .token.selector,
|
||||
.w-tc-editor code[class*="language-"] .token.string,
|
||||
.w-tc-editor pre[class*="language-"] .token.string {
|
||||
color: var(--color-prettylights-syntax-constant);
|
||||
}
|
||||
.w-tc-editor code[class*="language-"] .style .token.string,
|
||||
.w-tc-editor pre[class*="language-"] .style .token.string,
|
||||
.w-tc-editor code[class*="language-"] .token.entity,
|
||||
.w-tc-editor pre[class*="language-"] .token.entity,
|
||||
.w-tc-editor code[class*="language-"] .token.property,
|
||||
.w-tc-editor pre[class*="language-"] .token.property,
|
||||
.w-tc-editor code[class*="language-"] .token.operator,
|
||||
.w-tc-editor pre[class*="language-"] .token.operator,
|
||||
.w-tc-editor code[class*="language-"] .token.url,
|
||||
.w-tc-editor pre[class*="language-"] .token.url {
|
||||
color: var(--color-prettylights-syntax-constant);
|
||||
}
|
||||
.w-tc-editor code[class*="language-"] .token.atrule,
|
||||
.w-tc-editor pre[class*="language-"] .token.atrule,
|
||||
.w-tc-editor code[class*="language-"] .token.property-access .token.method,
|
||||
.w-tc-editor pre[class*="language-"] .token.property-access .token.method,
|
||||
.w-tc-editor code[class*="language-"] .token.keyword,
|
||||
.w-tc-editor pre[class*="language-"] .token.keyword {
|
||||
color: var(--color-prettylights-syntax-keyword);
|
||||
}
|
||||
.w-tc-editor code[class*="language-"] .token.function,
|
||||
.w-tc-editor pre[class*="language-"] .token.function {
|
||||
color: var(--color-prettylights-syntax-string);
|
||||
}
|
||||
.w-tc-editor code[class*="language-"] .token.important,
|
||||
.w-tc-editor pre[class*="language-"] .token.important,
|
||||
.w-tc-editor code[class*="language-"] .token.regex,
|
||||
.w-tc-editor pre[class*="language-"] .token.regex,
|
||||
.w-tc-editor code[class*="language-"] .token.variable,
|
||||
.w-tc-editor pre[class*="language-"] .token.variable {
|
||||
color: var(--color-prettylights-syntax-string-regexp);
|
||||
}
|
||||
.w-tc-editor code[class*="language-"] .token.bold,
|
||||
.w-tc-editor pre[class*="language-"] .token.bold,
|
||||
.w-tc-editor code[class*="language-"] .token.important,
|
||||
.w-tc-editor pre[class*="language-"] .token.important {
|
||||
color: var(--color-prettylights-syntax-markup-bold);
|
||||
}
|
||||
.w-tc-editor code[class*="language-"] .token.tag,
|
||||
.w-tc-editor pre[class*="language-"] .token.tag {
|
||||
color: var(--color-prettylights-syntax-entity-tag);
|
||||
}
|
||||
.w-tc-editor code[class*="language-"] .token.attr-value,
|
||||
.w-tc-editor pre[class*="language-"] .token.attr-value,
|
||||
.w-tc-editor code[class*="language-"] .token.attr-name,
|
||||
.w-tc-editor pre[class*="language-"] .token.attr-name {
|
||||
color: var(--color-prettylights-syntax-constant);
|
||||
}
|
||||
.w-tc-editor code[class*="language-"] .token.selector .class,
|
||||
.w-tc-editor pre[class*="language-"] .token.selector .class,
|
||||
.w-tc-editor code[class*="language-"] .token.class-name,
|
||||
.w-tc-editor pre[class*="language-"] .token.class-name {
|
||||
color: var(--color-prettylights-syntax-entity);
|
||||
}
|
||||
Vendored
+66857
-542
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -0,0 +1,4 @@
|
||||
import { FC } from "react";
|
||||
import { AccordionProps } from "./Accordion.types";
|
||||
declare const Accordion: FC<AccordionProps>;
|
||||
export default Accordion;
|
||||
@@ -0,0 +1,17 @@
|
||||
import { ReactNode } from "react";
|
||||
import { CSSObject } from "styled-components";
|
||||
export interface AccordionProps {
|
||||
expanded: boolean;
|
||||
onTitleClick: () => void;
|
||||
id: string;
|
||||
title: ReactNode;
|
||||
children: ReactNode;
|
||||
disabled?: boolean;
|
||||
sx?: CSSObject;
|
||||
}
|
||||
export interface AccordionMainProps {
|
||||
sx?: CSSObject;
|
||||
}
|
||||
export interface AccordionContentProps {
|
||||
expanded: boolean;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import React, { FC } from "react";
|
||||
import { ActionLinkProps } from "./ActionLink.types";
|
||||
declare const ActionLink: FC<
|
||||
ActionLinkProps & React.ButtonHTMLAttributes<HTMLButtonElement>
|
||||
>;
|
||||
export default ActionLink;
|
||||
@@ -0,0 +1,9 @@
|
||||
import { CSSObject } from "styled-components";
|
||||
export interface CommonActionLinkProps {
|
||||
isLoading?: boolean;
|
||||
label?: any;
|
||||
}
|
||||
export interface BaseActionLinkProps {
|
||||
sx?: CSSObject;
|
||||
}
|
||||
export type ActionLinkProps = CommonActionLinkProps & BaseActionLinkProps;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC } from "react";
|
||||
import { ActionsListProps } from "./ActionsList.types";
|
||||
declare const ActionsList: FC<ActionsListProps>;
|
||||
export default ActionsList;
|
||||
@@ -0,0 +1,22 @@
|
||||
import React from "react";
|
||||
import { CSSObject } from "styled-components";
|
||||
export interface ActionItem {
|
||||
action: () => void;
|
||||
label: string;
|
||||
disabled: boolean;
|
||||
icon: React.ReactNode;
|
||||
tooltip: string;
|
||||
}
|
||||
export interface ActionsListProps {
|
||||
sx?: CSSObject;
|
||||
items: ActionItem[];
|
||||
title: React.ReactNode;
|
||||
}
|
||||
export interface ActionsListPanelProps {
|
||||
sx?: CSSObject;
|
||||
}
|
||||
export interface ActionButtonProps
|
||||
extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
||||
label: string;
|
||||
icon: React.ReactNode;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC } from "react";
|
||||
import { ActionButtonProps } from "./ActionsList.types";
|
||||
declare const ObjectActionButton: FC<ActionButtonProps>;
|
||||
export default ObjectActionButton;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC } from "react";
|
||||
import { ApplicationLogoProps } from "./ApplicationLogo.types";
|
||||
declare const ApplicationLogo: FC<ApplicationLogoProps>;
|
||||
export default ApplicationLogo;
|
||||
@@ -0,0 +1,27 @@
|
||||
import React from "react";
|
||||
export interface ApplicationLogoProps {
|
||||
applicationName:
|
||||
| "console"
|
||||
| "operator"
|
||||
| "directpv"
|
||||
| "kes"
|
||||
| "subnet"
|
||||
| "subnetops"
|
||||
| "cloud"
|
||||
| "releases"
|
||||
| "vmbroker"
|
||||
| "eureka"
|
||||
| "kms"
|
||||
| "loadbalancer"
|
||||
| "index"
|
||||
| "cache"
|
||||
| "monitor"
|
||||
| "observe"
|
||||
| "missioncontrol"
|
||||
| "globalconsole"
|
||||
| "minio"
|
||||
| "enterprise";
|
||||
subVariant?: "simple" | "AGPL" | "standard" | "enterprise" | "new";
|
||||
inverse?: boolean;
|
||||
onClick?: React.MouseEventHandler<any> | undefined;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const Cache: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default Cache;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const Cloud: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default Cloud;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const ConsoleAGPL: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default ConsoleAGPL;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const ConsoleEnterprise: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default ConsoleEnterprise;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const ConsoleSingle: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default ConsoleSingle;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const ConsoleStandard: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default ConsoleStandard;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const GlobalConsole: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default GlobalConsole;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const DirectPV: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default DirectPV;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const Enterprise: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default Enterprise;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const Eureka: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default Eureka;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const EurekaNew: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default EurekaNew;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const IndexLogo: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default IndexLogo;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const KES: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default KES;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const KMS: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default KMS;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const LoadBalancer: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default LoadBalancer;
|
||||
@@ -0,0 +1,9 @@
|
||||
import React from "react";
|
||||
import { LogoBaseProps } from "./LogoBase.types";
|
||||
declare const LogoBase: import("styled-components").StyledComponent<
|
||||
"svg",
|
||||
any,
|
||||
React.SVGProps<any> & LogoBaseProps,
|
||||
never
|
||||
>;
|
||||
export default LogoBase;
|
||||
@@ -0,0 +1,3 @@
|
||||
export interface LogoBaseProps {
|
||||
inverse?: boolean;
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const MissionControl: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default MissionControl;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const Monitor: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default Monitor;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const Observe: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default Observe;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const Operator: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default Operator;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const Releases: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default Releases;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const SUBNET: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default SUBNET;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const DirectPV: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default DirectPV;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC, SVGProps } from "react";
|
||||
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
|
||||
declare const VMBroker: FC<SVGProps<any> & LogoBaseProps>;
|
||||
export default VMBroker;
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC } from "react";
|
||||
import { AutocompleteProps } from "./Autocomplete.types";
|
||||
declare const Autocomplete: FC<AutocompleteProps>;
|
||||
export default Autocomplete;
|
||||
@@ -0,0 +1,22 @@
|
||||
/// <reference types="react" />
|
||||
import { CSSObject } from "styled-components";
|
||||
import { SelectorType } from "../../global/global.types";
|
||||
import { CommonHelpTipPlacement } from "../HelpTip/HelpTip.types";
|
||||
export interface AutocompleteProps {
|
||||
options: SelectorType[];
|
||||
value?: string;
|
||||
id: string;
|
||||
name?: string;
|
||||
required?: boolean;
|
||||
className?: string;
|
||||
disabled?: boolean;
|
||||
displayDropArrow?: boolean;
|
||||
label?: string;
|
||||
tooltip?: string;
|
||||
noLabelMinWidth?: boolean;
|
||||
placeholder?: string;
|
||||
onChange: (newValue: string, extraValue?: any) => void;
|
||||
sx?: CSSObject;
|
||||
helpTip?: React.ReactNode;
|
||||
helpTipPlacement?: CommonHelpTipPlacement;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC } from "react";
|
||||
import { BackLinkProps } from "./BackLink.types";
|
||||
declare const BackLink: FC<BackLinkProps>;
|
||||
export default BackLink;
|
||||
@@ -0,0 +1,7 @@
|
||||
import React from "react";
|
||||
import { CSSProperties } from "styled-components";
|
||||
export interface BackLinkProps
|
||||
extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
||||
sx?: CSSProperties;
|
||||
label?: string;
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
import { FC, HTMLAttributes } from "react";
|
||||
import { BadgeProps } from "./Badge.types";
|
||||
declare const Badge: FC<HTMLAttributes<HTMLSpanElement> & BadgeProps>;
|
||||
export default Badge;
|
||||
@@ -0,0 +1,16 @@
|
||||
import { CSSObject } from "styled-components";
|
||||
export interface BadgeMain {
|
||||
invisible?: boolean;
|
||||
max?: number;
|
||||
showZero?: boolean;
|
||||
badgeContent?: number;
|
||||
}
|
||||
export interface BadgeConstruct {
|
||||
horizontalPosition?: "left" | "right";
|
||||
verticalPosition?: "bottom" | "top";
|
||||
sx?: CSSObject;
|
||||
color?: "default" | "secondary" | "warn" | "alert" | "ok" | "grey";
|
||||
shape?: "circular" | "rectangular";
|
||||
dotOnly?: boolean;
|
||||
}
|
||||
export type BadgeProps = BadgeMain & BadgeConstruct;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
import { FC, HTMLAttributes } from "react";
|
||||
import { BoxProps } from "./Box.types";
|
||||
declare const Box: FC<HTMLAttributes<HTMLDivElement> & BoxProps>;
|
||||
export default Box;
|
||||
@@ -0,0 +1,9 @@
|
||||
import React from "react";
|
||||
import { CSSObject } from "styled-components";
|
||||
export interface BoxProps {
|
||||
sx?: CSSObject;
|
||||
children?: React.ReactNode;
|
||||
withBorders?: boolean;
|
||||
customBorderPadding?: number | string;
|
||||
useBackground?: boolean;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
import { FC } from "react";
|
||||
import { BreadcrumbsProps } from "./Breadcrumbs.types";
|
||||
declare const Breadcrumbs: FC<BreadcrumbsProps>;
|
||||
export default Breadcrumbs;
|
||||
@@ -0,0 +1,11 @@
|
||||
import React from "react";
|
||||
import { CSSObject } from "styled-components";
|
||||
export interface BreadcrumbsProps {
|
||||
sx?: CSSObject;
|
||||
children: React.ReactNode;
|
||||
additionalOptions?: React.ReactNode;
|
||||
goBackFunction: () => void;
|
||||
}
|
||||
export interface BreadcrumbsContainerProps {
|
||||
sx?: CSSObject;
|
||||
}
|
||||
+4
-2
@@ -1,4 +1,6 @@
|
||||
import { FC } from "react";
|
||||
import React, { FC } from "react";
|
||||
import { ButtonProps } from "./Button.types";
|
||||
declare const Button: FC<ButtonProps>;
|
||||
declare const Button: FC<
|
||||
ButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement>
|
||||
>;
|
||||
export default Button;
|
||||
|
||||
+7
-1
@@ -1,13 +1,19 @@
|
||||
import { MouseEventHandler, ReactNode } from "react";
|
||||
import { CSSObject } from "styled-components";
|
||||
export interface ButtonProps {
|
||||
id: string;
|
||||
name?: string;
|
||||
label?: string;
|
||||
variant?: "regular" | "callAction" | "secondary";
|
||||
variant?: "regular" | "callAction" | "secondary" | "text" | "subAction";
|
||||
icon?: ReactNode;
|
||||
iconLocation?: "start" | "end";
|
||||
fullWidth?: boolean;
|
||||
disabled?: boolean;
|
||||
collapseOnSmall?: boolean;
|
||||
onClick?: MouseEventHandler<HTMLButtonElement>;
|
||||
children?: ReactNode | string;
|
||||
sx?: CSSObject;
|
||||
}
|
||||
export interface ConstructProps {
|
||||
parentChildren: ReactNode | string | undefined;
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user