@shape-digital-env/shape-ui 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Accordion/Accordion.d.ts +31 -6
- package/components/Accordion/Accordion.d.ts.map +1 -1
- package/components/Accordion/Accordion.stories.d.ts +49 -6
- package/components/Accordion/Accordion.stories.d.ts.map +1 -1
- package/components/AccountAvatar/AccountAvatar.d.ts +2 -0
- package/components/AccountAvatar/AccountAvatar.d.ts.map +1 -1
- package/components/AccountAvatar/AccountAvatar.stories.d.ts +20 -7
- package/components/AccountAvatar/AccountAvatar.stories.d.ts.map +1 -1
- package/components/AppLogos/AppLogos.stories.d.ts +4 -6
- package/components/AppLogos/AppLogos.stories.d.ts.map +1 -1
- package/components/AppLogos/AuraLogo.d.ts +2 -0
- package/components/AppLogos/AuraLogo.d.ts.map +1 -1
- package/components/AppLogos/AuraLogoWithName.d.ts +2 -0
- package/components/AppLogos/AuraLogoWithName.d.ts.map +1 -1
- package/components/AppLogos/LighthouseLockup.d.ts +3 -0
- package/components/AppLogos/LighthouseLockup.d.ts.map +1 -1
- package/components/AppLogos/LighthouseLogo.d.ts +2 -0
- package/components/AppLogos/LighthouseLogo.d.ts.map +1 -1
- package/components/AppLogos/LighthouseLogoWithName.d.ts +2 -0
- package/components/AppLogos/LighthouseLogoWithName.d.ts.map +1 -1
- package/components/AppLogos/LumenLogo.d.ts +2 -0
- package/components/AppLogos/LumenLogo.d.ts.map +1 -1
- package/components/AppLogos/LumenLogoWithName.d.ts +2 -0
- package/components/AppLogos/LumenLogoWithName.d.ts.map +1 -1
- package/components/AppLogos/ReefLogo.d.ts +2 -0
- package/components/AppLogos/ReefLogo.d.ts.map +1 -1
- package/components/AppLogos/ReefLogoWithName.d.ts +2 -0
- package/components/AppLogos/ReefLogoWithName.d.ts.map +1 -1
- package/components/Button/Button.d.ts +13 -0
- package/components/Button/Button.d.ts.map +1 -1
- package/components/Button/Button.stories.d.ts +38 -4
- package/components/Button/Button.stories.d.ts.map +1 -1
- package/components/Card/Card.d.ts +1 -0
- package/components/Card/Card.d.ts.map +1 -1
- package/components/Card/Card.stories.d.ts +23 -4
- package/components/Card/Card.stories.d.ts.map +1 -1
- package/components/CellStyled/CellStyled.d.ts +5 -0
- package/components/CellStyled/CellStyled.d.ts.map +1 -1
- package/components/CellStyled/CellStyled.stories.d.ts +28 -4
- package/components/CellStyled/CellStyled.stories.d.ts.map +1 -1
- package/components/ChartWrapper/ChartWrapper.d.ts +4 -4
- package/components/ChartWrapper/ChartWrapper.d.ts.map +1 -1
- package/components/ChartWrapper/ChartWrapper.stories.d.ts +22 -5
- package/components/ChartWrapper/ChartWrapper.stories.d.ts.map +1 -1
- package/components/Checkbox/Checkbox.stories.d.ts +24 -8
- package/components/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/components/ClearFilters/ClearFilters.d.ts +5 -0
- package/components/ClearFilters/ClearFilters.d.ts.map +1 -1
- package/components/ClearFilters/ClearFilters.stories.d.ts +26 -5
- package/components/ClearFilters/ClearFilters.stories.d.ts.map +1 -1
- package/components/DateRangePicker/DateRangePicker.d.ts +17 -0
- package/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/components/DateRangePicker/DateRangePicker.stories.d.ts +55 -7
- package/components/DateRangePicker/DateRangePicker.stories.d.ts.map +1 -1
- package/components/Divider/Divider.d.ts +4 -4
- package/components/Divider/Divider.d.ts.map +1 -1
- package/components/Divider/Divider.stories.d.ts +27 -6
- package/components/Divider/Divider.stories.d.ts.map +1 -1
- package/components/DropdownMenu/DropdownMenu.d.ts +3 -0
- package/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
- package/components/DropdownMenu/DropdownMenu.stories.d.ts +37 -3
- package/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
- package/components/ErrorFallback/ErrorFallback.d.ts +12 -0
- package/components/ErrorFallback/ErrorFallback.d.ts.map +1 -1
- package/components/ErrorFallback/ErrorFallback.stories.d.ts +291 -4
- package/components/ErrorFallback/ErrorFallback.stories.d.ts.map +1 -1
- package/components/ErrorOnLoadData/ErrorOnLoadData.d.ts +6 -0
- package/components/ErrorOnLoadData/ErrorOnLoadData.d.ts.map +1 -1
- package/components/ErrorOnLoadData/ErrorOnLoadData.stories.d.ts +1 -0
- package/components/ErrorOnLoadData/ErrorOnLoadData.stories.d.ts.map +1 -1
- package/components/Field/Field.stories.d.ts +19 -4
- package/components/Field/Field.stories.d.ts.map +1 -1
- package/components/Field/Field.types.d.ts +30 -0
- package/components/Field/Field.types.d.ts.map +1 -1
- package/components/Icon/Icon.d.ts +8 -4
- package/components/Icon/Icon.d.ts.map +1 -1
- package/components/Icon/Icon.stories.d.ts +36 -4
- package/components/Icon/Icon.stories.d.ts.map +1 -1
- package/components/Input/Input.d.ts +4 -0
- package/components/Input/Input.d.ts.map +1 -1
- package/components/Input/Input.stories.d.ts +328 -9
- package/components/Input/Input.stories.d.ts.map +1 -1
- package/components/LegendIcon/LegendIcon.d.ts +4 -1
- package/components/LegendIcon/LegendIcon.d.ts.map +1 -1
- package/components/LegendIcon/LegendIcon.stories.d.ts +3 -5
- package/components/LegendIcon/LegendIcon.stories.d.ts.map +1 -1
- package/components/LoginScreen/LoginScreen.d.ts +29 -0
- package/components/LoginScreen/LoginScreen.d.ts.map +1 -1
- package/components/LoginScreen/LoginScreen.stories.d.ts +6 -0
- package/components/LoginScreen/LoginScreen.stories.d.ts.map +1 -1
- package/components/Logo/Logo.d.ts +5 -0
- package/components/Logo/Logo.d.ts.map +1 -1
- package/components/Logo/Logo.stories.d.ts +27 -6
- package/components/Logo/Logo.stories.d.ts.map +1 -1
- package/components/MetricCard/MetricCard.d.ts +10 -0
- package/components/MetricCard/MetricCard.d.ts.map +1 -1
- package/components/MetricCard/MetricCard.stories.d.ts.map +1 -1
- package/components/Modal/Modal.d.ts +26 -13
- package/components/Modal/Modal.d.ts.map +1 -1
- package/components/Modal/Modal.stories.d.ts +41 -6
- package/components/Modal/Modal.stories.d.ts.map +1 -1
- package/components/MultiSelect/MultiSelect.d.ts +10 -0
- package/components/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/components/MultiSelect/MultiSelect.stories.d.ts +66 -5
- package/components/MultiSelect/MultiSelect.stories.d.ts.map +1 -1
- package/components/PageHeader/PageHeader.d.ts +2 -0
- package/components/PageHeader/PageHeader.d.ts.map +1 -1
- package/components/PageHeader/PageHeader.stories.d.ts +28 -6
- package/components/PageHeader/PageHeader.stories.d.ts.map +1 -1
- package/components/Pagination/Pagination.d.ts +9 -0
- package/components/Pagination/Pagination.d.ts.map +1 -1
- package/components/Pagination/Pagination.stories.d.ts +60 -4
- package/components/Pagination/Pagination.stories.d.ts.map +1 -1
- package/components/RadioGroup/RadioGroup.d.ts +2 -0
- package/components/RadioGroup/RadioGroup.d.ts.map +1 -1
- package/components/RadioGroup/RadioGroup.stories.d.ts +44 -6
- package/components/RadioGroup/RadioGroup.stories.d.ts.map +1 -1
- package/components/Select/Select.d.ts +47 -14
- package/components/Select/Select.d.ts.map +1 -1
- package/components/Select/Select.stories.d.ts +105 -10
- package/components/Select/Select.stories.d.ts.map +1 -1
- package/components/ShapeLogo/ShapeLogo.d.ts +4 -1
- package/components/ShapeLogo/ShapeLogo.d.ts.map +1 -1
- package/components/ShapeLogo/ShapeLogo.stories.d.ts +29 -4
- package/components/ShapeLogo/ShapeLogo.stories.d.ts.map +1 -1
- package/components/SortableTableSection/SortableTableSection.d.ts +20 -4
- package/components/SortableTableSection/SortableTableSection.d.ts.map +1 -1
- package/components/SortableTableSection/SortableTableSection.stories.d.ts +44 -5
- package/components/SortableTableSection/SortableTableSection.stories.d.ts.map +1 -1
- package/components/Spinner/Spinner.d.ts +12 -2
- package/components/Spinner/Spinner.d.ts.map +1 -1
- package/components/Spinner/Spinner.stories.d.ts +26 -4
- package/components/Spinner/Spinner.stories.d.ts.map +1 -1
- package/components/Stepper/Stepper.d.ts +9 -1
- package/components/Stepper/Stepper.d.ts.map +1 -1
- package/components/Stepper/Stepper.stories.d.ts +308 -6
- package/components/Stepper/Stepper.stories.d.ts.map +1 -1
- package/components/Switch/Switch.stories.d.ts +24 -7
- package/components/Switch/Switch.stories.d.ts.map +1 -1
- package/components/Table/DataTable/DataTable.d.ts.map +1 -1
- package/components/Table/DataTable/DataTable.stories.d.ts +96 -9
- package/components/Table/DataTable/DataTable.stories.d.ts.map +1 -1
- package/components/Table/DataTable/DataTable.types.d.ts +55 -0
- package/components/Table/DataTable/DataTable.types.d.ts.map +1 -1
- package/components/Table/DataTable/components/DataTableBody.d.ts +2 -1
- package/components/Table/DataTable/components/DataTableBody.d.ts.map +1 -1
- package/components/Table/DataTable/components/DataTableCell/DataTableCell.d.ts +5 -0
- package/components/Table/DataTable/components/DataTableCell/DataTableCell.d.ts.map +1 -1
- package/components/Table/DataTable/components/DataTableCell/DataTableCell.utils.d.ts.map +1 -1
- package/components/Table/DataTable/components/DataTableHeader.d.ts.map +1 -1
- package/components/Table/DataTable/hooks/useDataTableColumns.d.ts.map +1 -1
- package/components/Table/Table.d.ts +12 -2
- package/components/Table/Table.d.ts.map +1 -1
- package/components/Table/Table.stories.d.ts +22 -7
- package/components/Table/Table.stories.d.ts.map +1 -1
- package/components/Tabs/Tabs.d.ts +12 -0
- package/components/Tabs/Tabs.d.ts.map +1 -1
- package/components/Tabs/Tabs.stories.d.ts +38 -5
- package/components/Tabs/Tabs.stories.d.ts.map +1 -1
- package/components/Textarea/Textarea.d.ts +4 -0
- package/components/Textarea/Textarea.d.ts.map +1 -1
- package/components/Textarea/Textarea.stories.d.ts +311 -7
- package/components/Textarea/Textarea.stories.d.ts.map +1 -1
- package/components/Title/Title.d.ts +1 -0
- package/components/Title/Title.d.ts.map +1 -1
- package/components/Title/Title.stories.d.ts +18 -4
- package/components/Title/Title.stories.d.ts.map +1 -1
- package/components/Toast/Toast.d.ts +18 -2
- package/components/Toast/Toast.d.ts.map +1 -1
- package/components/Toast/Toast.stories.d.ts +40 -5
- package/components/Toast/Toast.stories.d.ts.map +1 -1
- package/components/Tooltip/Tooltip.d.ts +13 -0
- package/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/components/Tooltip/Tooltip.stories.d.ts +338 -3
- package/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/index.js +8951 -9104
- package/lib/i18n.d.ts +8 -0
- package/lib/i18n.d.ts.map +1 -0
- package/lib/useSvgId.d.ts +8 -0
- package/lib/useSvgId.d.ts.map +1 -0
- package/locales/en/common.i18n.d.ts +19 -0
- package/locales/en/common.i18n.d.ts.map +1 -0
- package/locales/en/index.d.ts +19 -0
- package/locales/en/index.d.ts.map +1 -1
- package/locales/en/table.i18n.d.ts +1 -0
- package/locales/en/table.i18n.d.ts.map +1 -1
- package/locales/es/common.i18n.d.ts +19 -0
- package/locales/es/common.i18n.d.ts.map +1 -0
- package/locales/es/index.d.ts +19 -0
- package/locales/es/index.d.ts.map +1 -1
- package/locales/es/table.i18n.d.ts +1 -0
- package/locales/es/table.i18n.d.ts.map +1 -1
- package/locales/pt-br/common.i18n.d.ts +19 -0
- package/locales/pt-br/common.i18n.d.ts.map +1 -0
- package/locales/pt-br/index.d.ts +19 -0
- package/locales/pt-br/index.d.ts.map +1 -1
- package/locales/pt-br/table.i18n.d.ts +1 -0
- package/locales/pt-br/table.i18n.d.ts.map +1 -1
- package/package.json +4 -1
- package/styles.css +73 -47
- package/components/Tabs/Tabs.figma.d.ts +0 -8
- package/components/Tabs/Tabs.figma.d.ts.map +0 -1
package/lib/i18n.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const SHAPE_UI_NS = "shape_ui";
|
|
2
|
+
/**
|
|
3
|
+
* Translates the lib's own default text (accessible names, generic labels)
|
|
4
|
+
* from the `shape_ui` namespace. The English `defaultValue` keeps the text
|
|
5
|
+
* readable in apps that haven't registered the namespace.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useShapeUiT(): (key: string, defaultValue: string, options?: Record<string, unknown>) => string;
|
|
8
|
+
//# sourceMappingURL=i18n.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/lib/i18n.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,aAAa,CAAC;AAEtC;;;;GAIG;AACH,wBAAgB,WAAW,UAGlB,MAAM,gBACG,MAAM,YACV,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAChC,MAAM,CACV"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prefix for the ids inside an inline SVG (gradients, masks, clip paths), so
|
|
3
|
+
* two copies of the same logo on a page don't point at each other's
|
|
4
|
+
* definitions. React's id has punctuation (colons in 18, `«»` in 19), which is
|
|
5
|
+
* dropped to keep `url(#…)` references valid everywhere.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useSvgId(): string;
|
|
8
|
+
//# sourceMappingURL=useSvgId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSvgId.d.ts","sourceRoot":"","sources":["../../src/lib/useSvgId.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,wBAAgB,QAAQ,IAAI,MAAM,CAEjC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const i18nCommon: {
|
|
2
|
+
loading: string;
|
|
3
|
+
close: string;
|
|
4
|
+
dismiss: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
confirm: string;
|
|
7
|
+
clear_filters: string;
|
|
8
|
+
pagination: string;
|
|
9
|
+
previous: string;
|
|
10
|
+
next: string;
|
|
11
|
+
select_date_range: string;
|
|
12
|
+
untitled: string;
|
|
13
|
+
error: string;
|
|
14
|
+
step_of: string;
|
|
15
|
+
shape_logo: string;
|
|
16
|
+
logo: string;
|
|
17
|
+
logo_of: string;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=common.i18n.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.i18n.d.ts","sourceRoot":"","sources":["../../../src/locales/en/common.i18n.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;CAiBtB,CAAC"}
|
package/locales/en/index.d.ts
CHANGED
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
export declare const shapeUiEn: {
|
|
2
|
+
common: {
|
|
3
|
+
loading: string;
|
|
4
|
+
close: string;
|
|
5
|
+
dismiss: string;
|
|
6
|
+
cancel: string;
|
|
7
|
+
confirm: string;
|
|
8
|
+
clear_filters: string;
|
|
9
|
+
pagination: string;
|
|
10
|
+
previous: string;
|
|
11
|
+
next: string;
|
|
12
|
+
select_date_range: string;
|
|
13
|
+
untitled: string;
|
|
14
|
+
error: string;
|
|
15
|
+
step_of: string;
|
|
16
|
+
shape_logo: string;
|
|
17
|
+
logo: string;
|
|
18
|
+
logo_of: string;
|
|
19
|
+
};
|
|
2
20
|
field: {
|
|
3
21
|
required: string;
|
|
4
22
|
};
|
|
@@ -58,6 +76,7 @@ export declare const shapeUiEn: {
|
|
|
58
76
|
selectAllRows: string;
|
|
59
77
|
};
|
|
60
78
|
expand: {
|
|
79
|
+
header: string;
|
|
61
80
|
expandRow: string;
|
|
62
81
|
collapseRow: string;
|
|
63
82
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/locales/en/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/locales/en/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.i18n.d.ts","sourceRoot":"","sources":["../../../src/locales/en/table.i18n.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"table.i18n.d.ts","sourceRoot":"","sources":["../../../src/locales/en/table.i18n.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CrB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const i18nCommon: {
|
|
2
|
+
loading: string;
|
|
3
|
+
close: string;
|
|
4
|
+
dismiss: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
confirm: string;
|
|
7
|
+
clear_filters: string;
|
|
8
|
+
pagination: string;
|
|
9
|
+
previous: string;
|
|
10
|
+
next: string;
|
|
11
|
+
select_date_range: string;
|
|
12
|
+
untitled: string;
|
|
13
|
+
error: string;
|
|
14
|
+
step_of: string;
|
|
15
|
+
shape_logo: string;
|
|
16
|
+
logo: string;
|
|
17
|
+
logo_of: string;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=common.i18n.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.i18n.d.ts","sourceRoot":"","sources":["../../../src/locales/es/common.i18n.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;CAiBtB,CAAC"}
|
package/locales/es/index.d.ts
CHANGED
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
export declare const shapeUiEs: {
|
|
2
|
+
common: {
|
|
3
|
+
loading: string;
|
|
4
|
+
close: string;
|
|
5
|
+
dismiss: string;
|
|
6
|
+
cancel: string;
|
|
7
|
+
confirm: string;
|
|
8
|
+
clear_filters: string;
|
|
9
|
+
pagination: string;
|
|
10
|
+
previous: string;
|
|
11
|
+
next: string;
|
|
12
|
+
select_date_range: string;
|
|
13
|
+
untitled: string;
|
|
14
|
+
error: string;
|
|
15
|
+
step_of: string;
|
|
16
|
+
shape_logo: string;
|
|
17
|
+
logo: string;
|
|
18
|
+
logo_of: string;
|
|
19
|
+
};
|
|
2
20
|
field: {
|
|
3
21
|
required: string;
|
|
4
22
|
};
|
|
@@ -58,6 +76,7 @@ export declare const shapeUiEs: {
|
|
|
58
76
|
selectAllRows: string;
|
|
59
77
|
};
|
|
60
78
|
expand: {
|
|
79
|
+
header: string;
|
|
61
80
|
expandRow: string;
|
|
62
81
|
collapseRow: string;
|
|
63
82
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/locales/es/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/locales/es/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.i18n.d.ts","sourceRoot":"","sources":["../../../src/locales/es/table.i18n.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"table.i18n.d.ts","sourceRoot":"","sources":["../../../src/locales/es/table.i18n.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CrB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const i18nCommon: {
|
|
2
|
+
loading: string;
|
|
3
|
+
close: string;
|
|
4
|
+
dismiss: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
confirm: string;
|
|
7
|
+
clear_filters: string;
|
|
8
|
+
pagination: string;
|
|
9
|
+
previous: string;
|
|
10
|
+
next: string;
|
|
11
|
+
select_date_range: string;
|
|
12
|
+
untitled: string;
|
|
13
|
+
error: string;
|
|
14
|
+
step_of: string;
|
|
15
|
+
shape_logo: string;
|
|
16
|
+
logo: string;
|
|
17
|
+
logo_of: string;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=common.i18n.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.i18n.d.ts","sourceRoot":"","sources":["../../../src/locales/pt-br/common.i18n.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;CAiBtB,CAAC"}
|
package/locales/pt-br/index.d.ts
CHANGED
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
export declare const shapeUiPtBr: {
|
|
2
|
+
common: {
|
|
3
|
+
loading: string;
|
|
4
|
+
close: string;
|
|
5
|
+
dismiss: string;
|
|
6
|
+
cancel: string;
|
|
7
|
+
confirm: string;
|
|
8
|
+
clear_filters: string;
|
|
9
|
+
pagination: string;
|
|
10
|
+
previous: string;
|
|
11
|
+
next: string;
|
|
12
|
+
select_date_range: string;
|
|
13
|
+
untitled: string;
|
|
14
|
+
error: string;
|
|
15
|
+
step_of: string;
|
|
16
|
+
shape_logo: string;
|
|
17
|
+
logo: string;
|
|
18
|
+
logo_of: string;
|
|
19
|
+
};
|
|
2
20
|
field: {
|
|
3
21
|
required: string;
|
|
4
22
|
};
|
|
@@ -58,6 +76,7 @@ export declare const shapeUiPtBr: {
|
|
|
58
76
|
selectAllRows: string;
|
|
59
77
|
};
|
|
60
78
|
expand: {
|
|
79
|
+
header: string;
|
|
61
80
|
expandRow: string;
|
|
62
81
|
collapseRow: string;
|
|
63
82
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/locales/pt-br/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/locales/pt-br/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.i18n.d.ts","sourceRoot":"","sources":["../../../src/locales/pt-br/table.i18n.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"table.i18n.d.ts","sourceRoot":"","sources":["../../../src/locales/pt-br/table.i18n.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CrB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shape-digital-env/shape-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Shape Digital's React design system — components, tokens and styles.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -44,6 +44,9 @@
|
|
|
44
44
|
"@radix-ui/react-switch": "^1.2.2",
|
|
45
45
|
"@radix-ui/react-tabs": "^1.1.12",
|
|
46
46
|
"@radix-ui/react-tooltip": "^1.1.0",
|
|
47
|
+
"@shape/table-core": "*",
|
|
48
|
+
"@tanstack/react-table": "^8.13.2",
|
|
49
|
+
"@tanstack/react-virtual": "3.0.4",
|
|
47
50
|
"i18next": ">=23",
|
|
48
51
|
"react": ">=18",
|
|
49
52
|
"react-dom": ">=18",
|
package/styles.css
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"Segoe UI Symbol", "Noto Color Emoji";
|
|
9
9
|
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
10
10
|
"Courier New", monospace;
|
|
11
|
+
--color-red-50: #ff5050;
|
|
11
12
|
--color-red-100: #e43030;
|
|
12
13
|
--color-red-200: #a02020;
|
|
13
14
|
--color-yellow-100: #ffa000;
|
|
@@ -92,6 +93,7 @@
|
|
|
92
93
|
--color-gray-f7: rgba(255, 255, 255, 0.07);
|
|
93
94
|
--size-indicator-h: var(--stroke-width-xs);
|
|
94
95
|
--size-tabs-h: var(--spacing-12);
|
|
96
|
+
--spacing-xl: var(--spacing-8);
|
|
95
97
|
--spacing-lg: var(--spacing-6);
|
|
96
98
|
--spacing-md: var(--spacing-4);
|
|
97
99
|
--spacing-sm: var(--spacing-2);
|
|
@@ -291,6 +293,9 @@
|
|
|
291
293
|
.relative {
|
|
292
294
|
position: relative;
|
|
293
295
|
}
|
|
296
|
+
.static {
|
|
297
|
+
position: static;
|
|
298
|
+
}
|
|
294
299
|
.sticky {
|
|
295
300
|
position: sticky;
|
|
296
301
|
}
|
|
@@ -324,9 +329,6 @@
|
|
|
324
329
|
.bottom-0 {
|
|
325
330
|
bottom: 0px;
|
|
326
331
|
}
|
|
327
|
-
.bottom-full {
|
|
328
|
-
bottom: 100%;
|
|
329
|
-
}
|
|
330
332
|
.left-0 {
|
|
331
333
|
left: 0px;
|
|
332
334
|
}
|
|
@@ -381,12 +383,12 @@
|
|
|
381
383
|
.mx-0\.5 {
|
|
382
384
|
margin-inline: calc(var(--spacing) * 0.5);
|
|
383
385
|
}
|
|
384
|
-
.my-0 {
|
|
385
|
-
margin-block: 0px;
|
|
386
|
-
}
|
|
387
386
|
.my-1 {
|
|
388
387
|
margin-block: var(--spacing-1);
|
|
389
388
|
}
|
|
389
|
+
.mt-0 {
|
|
390
|
+
margin-top: 0px;
|
|
391
|
+
}
|
|
390
392
|
.mt-2 {
|
|
391
393
|
margin-top: var(--spacing-2);
|
|
392
394
|
}
|
|
@@ -402,9 +404,6 @@
|
|
|
402
404
|
.mb-6 {
|
|
403
405
|
margin-bottom: var(--spacing-6);
|
|
404
406
|
}
|
|
405
|
-
.mb-\[3px\] {
|
|
406
|
-
margin-bottom: 3px;
|
|
407
|
-
}
|
|
408
407
|
.ml-0\.5 {
|
|
409
408
|
margin-left: calc(var(--spacing) * 0.5);
|
|
410
409
|
}
|
|
@@ -500,6 +499,9 @@
|
|
|
500
499
|
.h-9 {
|
|
501
500
|
height: calc(var(--spacing) * 9);
|
|
502
501
|
}
|
|
502
|
+
.h-10 {
|
|
503
|
+
height: var(--spacing-10);
|
|
504
|
+
}
|
|
503
505
|
.h-12 {
|
|
504
506
|
height: var(--spacing-12);
|
|
505
507
|
}
|
|
@@ -515,9 +517,15 @@
|
|
|
515
517
|
.h-48 {
|
|
516
518
|
height: calc(var(--spacing) * 48);
|
|
517
519
|
}
|
|
520
|
+
.h-60 {
|
|
521
|
+
height: calc(var(--spacing) * 60);
|
|
522
|
+
}
|
|
518
523
|
.h-64 {
|
|
519
524
|
height: calc(var(--spacing) * 64);
|
|
520
525
|
}
|
|
526
|
+
.h-auto {
|
|
527
|
+
height: auto;
|
|
528
|
+
}
|
|
521
529
|
.h-full {
|
|
522
530
|
height: 100%;
|
|
523
531
|
}
|
|
@@ -605,12 +613,18 @@
|
|
|
605
613
|
.w-8 {
|
|
606
614
|
width: var(--spacing-8);
|
|
607
615
|
}
|
|
616
|
+
.w-10 {
|
|
617
|
+
width: var(--spacing-10);
|
|
618
|
+
}
|
|
608
619
|
.w-20 {
|
|
609
620
|
width: calc(var(--spacing) * 20);
|
|
610
621
|
}
|
|
611
622
|
.w-24 {
|
|
612
623
|
width: calc(var(--spacing) * 24);
|
|
613
624
|
}
|
|
625
|
+
.w-28 {
|
|
626
|
+
width: calc(var(--spacing) * 28);
|
|
627
|
+
}
|
|
614
628
|
.w-40 {
|
|
615
629
|
width: calc(var(--spacing) * 40);
|
|
616
630
|
}
|
|
@@ -632,6 +646,9 @@
|
|
|
632
646
|
.w-120 {
|
|
633
647
|
width: calc(var(--spacing) * 120);
|
|
634
648
|
}
|
|
649
|
+
.w-170 {
|
|
650
|
+
width: calc(var(--spacing) * 170);
|
|
651
|
+
}
|
|
635
652
|
.w-210 {
|
|
636
653
|
width: calc(var(--spacing) * 210);
|
|
637
654
|
}
|
|
@@ -641,12 +658,6 @@
|
|
|
641
658
|
.w-320 {
|
|
642
659
|
width: calc(var(--spacing) * 320);
|
|
643
660
|
}
|
|
644
|
-
.w-\[80px\] {
|
|
645
|
-
width: 80px;
|
|
646
|
-
}
|
|
647
|
-
.w-\[680px\] {
|
|
648
|
-
width: 680px;
|
|
649
|
-
}
|
|
650
661
|
.w-auto {
|
|
651
662
|
width: auto;
|
|
652
663
|
}
|
|
@@ -659,12 +670,24 @@
|
|
|
659
670
|
.w-max {
|
|
660
671
|
width: max-content;
|
|
661
672
|
}
|
|
673
|
+
.max-w-48 {
|
|
674
|
+
max-width: calc(var(--spacing) * 48);
|
|
675
|
+
}
|
|
662
676
|
.max-w-50 {
|
|
663
677
|
max-width: calc(var(--spacing) * 50);
|
|
664
678
|
}
|
|
665
679
|
.max-w-56 {
|
|
666
680
|
max-width: calc(var(--spacing) * 56);
|
|
667
681
|
}
|
|
682
|
+
.max-w-60 {
|
|
683
|
+
max-width: calc(var(--spacing) * 60);
|
|
684
|
+
}
|
|
685
|
+
.max-w-64 {
|
|
686
|
+
max-width: calc(var(--spacing) * 64);
|
|
687
|
+
}
|
|
688
|
+
.max-w-160 {
|
|
689
|
+
max-width: calc(var(--spacing) * 160);
|
|
690
|
+
}
|
|
668
691
|
.max-w-\[100vw\] {
|
|
669
692
|
max-width: 100vw;
|
|
670
693
|
}
|
|
@@ -677,6 +700,9 @@
|
|
|
677
700
|
.max-w-none {
|
|
678
701
|
max-width: none;
|
|
679
702
|
}
|
|
703
|
+
.max-w-xl {
|
|
704
|
+
max-width: var(--spacing-xl);
|
|
705
|
+
}
|
|
680
706
|
.min-w-\(--radix-select-trigger-width\) {
|
|
681
707
|
min-width: var(--radix-select-trigger-width);
|
|
682
708
|
}
|
|
@@ -786,6 +812,9 @@
|
|
|
786
812
|
.appearance-none {
|
|
787
813
|
appearance: none;
|
|
788
814
|
}
|
|
815
|
+
.grid-cols-2 {
|
|
816
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
817
|
+
}
|
|
789
818
|
.flex-col {
|
|
790
819
|
flex-direction: column;
|
|
791
820
|
}
|
|
@@ -852,10 +881,8 @@
|
|
|
852
881
|
.gap-xs {
|
|
853
882
|
gap: var(--spacing-xs);
|
|
854
883
|
}
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
margin-block-start: calc(var(--spacing-4) * var(--tw-space-y-reverse));
|
|
858
|
-
margin-block-end: calc(var(--spacing-4) * calc(1 - var(--tw-space-y-reverse)));
|
|
884
|
+
.self-start {
|
|
885
|
+
align-self: flex-start;
|
|
859
886
|
}
|
|
860
887
|
.truncate {
|
|
861
888
|
overflow: hidden;
|
|
@@ -871,6 +898,9 @@
|
|
|
871
898
|
.overflow-visible {
|
|
872
899
|
overflow: visible;
|
|
873
900
|
}
|
|
901
|
+
.overflow-x-auto {
|
|
902
|
+
overflow-x: auto;
|
|
903
|
+
}
|
|
874
904
|
.overflow-y-auto {
|
|
875
905
|
overflow-y: auto;
|
|
876
906
|
}
|
|
@@ -926,19 +956,12 @@
|
|
|
926
956
|
border-bottom-style: var(--tw-border-style);
|
|
927
957
|
border-bottom-width: 1px;
|
|
928
958
|
}
|
|
929
|
-
.border-none {
|
|
930
|
-
--tw-border-style: none;
|
|
931
|
-
border-style: none;
|
|
932
|
-
}
|
|
933
959
|
.border-blue-100 {
|
|
934
960
|
border-color: var(--color-blue-100);
|
|
935
961
|
}
|
|
936
962
|
.border-border-strong {
|
|
937
963
|
border-color: var(--color-border-strong);
|
|
938
964
|
}
|
|
939
|
-
.border-gray-200 {
|
|
940
|
-
border-color: var(--color-gray-200);
|
|
941
|
-
}
|
|
942
965
|
.border-gray-300 {
|
|
943
966
|
border-color: var(--color-gray-300);
|
|
944
967
|
}
|
|
@@ -984,8 +1007,8 @@
|
|
|
984
1007
|
.bg-current {
|
|
985
1008
|
background-color: currentcolor;
|
|
986
1009
|
}
|
|
987
|
-
.bg-feedback-error {
|
|
988
|
-
background-color: var(--color-feedback-error);
|
|
1010
|
+
.bg-feedback-error-dark {
|
|
1011
|
+
background-color: var(--color-feedback-error-dark);
|
|
989
1012
|
}
|
|
990
1013
|
.bg-gray-100 {
|
|
991
1014
|
background-color: var(--color-gray-100);
|
|
@@ -1283,12 +1306,12 @@
|
|
|
1283
1306
|
.text-feedback-warning-150 {
|
|
1284
1307
|
color: var(--color-feedback-warning-150);
|
|
1285
1308
|
}
|
|
1286
|
-
.text-gray-300 {
|
|
1287
|
-
color: var(--color-gray-300);
|
|
1288
|
-
}
|
|
1289
1309
|
.text-gray-500 {
|
|
1290
1310
|
color: var(--color-gray-500);
|
|
1291
1311
|
}
|
|
1312
|
+
.text-red-50 {
|
|
1313
|
+
color: var(--color-red-50);
|
|
1314
|
+
}
|
|
1292
1315
|
.text-red-100 {
|
|
1293
1316
|
color: var(--color-red-100);
|
|
1294
1317
|
}
|
|
@@ -1428,6 +1451,10 @@
|
|
|
1428
1451
|
.placeholder\:text-gray-500::placeholder {
|
|
1429
1452
|
color: var(--color-gray-500);
|
|
1430
1453
|
}
|
|
1454
|
+
.last\:border-b-0:last-child {
|
|
1455
|
+
border-bottom-style: var(--tw-border-style);
|
|
1456
|
+
border-bottom-width: 0px;
|
|
1457
|
+
}
|
|
1431
1458
|
:is(.\*\:last\:border-b-0 > *):last-child {
|
|
1432
1459
|
border-bottom-style: var(--tw-border-style);
|
|
1433
1460
|
border-bottom-width: 0px;
|
|
@@ -1451,8 +1478,13 @@
|
|
|
1451
1478
|
.hover\:bg-blue-250:hover {
|
|
1452
1479
|
background-color: var(--color-blue-250);
|
|
1453
1480
|
}
|
|
1454
|
-
.hover\:bg-feedback-error-dark:hover {
|
|
1455
|
-
background-color:
|
|
1481
|
+
.hover\:bg-feedback-error-dark\/80:hover {
|
|
1482
|
+
background-color: color-mix(in srgb, #a02020 80%, transparent);
|
|
1483
|
+
}
|
|
1484
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1485
|
+
.hover\:bg-feedback-error-dark\/80:hover {
|
|
1486
|
+
background-color: color-mix(in oklab, var(--color-feedback-error-dark) 80%, transparent);
|
|
1487
|
+
}
|
|
1456
1488
|
}
|
|
1457
1489
|
.hover\:bg-gray-300:hover {
|
|
1458
1490
|
background-color: var(--color-gray-300);
|
|
@@ -1466,9 +1498,6 @@
|
|
|
1466
1498
|
.hover\:text-blue-150:hover {
|
|
1467
1499
|
color: var(--color-blue-150);
|
|
1468
1500
|
}
|
|
1469
|
-
.hover\:text-red-100:hover {
|
|
1470
|
-
color: var(--color-red-100);
|
|
1471
|
-
}
|
|
1472
1501
|
.hover\:text-white:hover {
|
|
1473
1502
|
color: var(--color-white);
|
|
1474
1503
|
}
|
|
@@ -1482,9 +1511,6 @@
|
|
|
1482
1511
|
.focus-visible\:rounded-sm:focus-visible {
|
|
1483
1512
|
border-radius: var(--radius-sm);
|
|
1484
1513
|
}
|
|
1485
|
-
.focus-visible\:border-white:focus-visible {
|
|
1486
|
-
border-color: var(--color-white);
|
|
1487
|
-
}
|
|
1488
1514
|
.focus-visible\:bg-gray-f7:focus-visible {
|
|
1489
1515
|
background-color: var(--color-gray-f7);
|
|
1490
1516
|
}
|
|
@@ -1535,8 +1561,8 @@
|
|
|
1535
1561
|
.active\:bg-blue-200:active {
|
|
1536
1562
|
background-color: var(--color-blue-200);
|
|
1537
1563
|
}
|
|
1538
|
-
.active\:bg-feedback-error:active {
|
|
1539
|
-
background-color: var(--color-feedback-error);
|
|
1564
|
+
.active\:bg-feedback-error-dark:active {
|
|
1565
|
+
background-color: var(--color-feedback-error-dark);
|
|
1540
1566
|
}
|
|
1541
1567
|
.active\:text-blue-100:active {
|
|
1542
1568
|
color: var(--color-blue-100);
|
|
@@ -1698,6 +1724,12 @@
|
|
|
1698
1724
|
.data-\[state\=unchecked\]\:data-highlighted\:bg-gray-f7[data-state="unchecked"][data-highlighted] {
|
|
1699
1725
|
background-color: var(--color-gray-f7);
|
|
1700
1726
|
}
|
|
1727
|
+
.data-\[vertical\=true\]\:h-24[data-vertical="true"] {
|
|
1728
|
+
height: calc(var(--spacing) * 24);
|
|
1729
|
+
}
|
|
1730
|
+
.data-\[vertical\=true\]\:flex-row[data-vertical="true"] {
|
|
1731
|
+
flex-direction: row;
|
|
1732
|
+
}
|
|
1701
1733
|
@media (width >= 80rem) {
|
|
1702
1734
|
.xl\:h-9 {
|
|
1703
1735
|
height: calc(var(--spacing) * 9);
|
|
@@ -1900,11 +1932,6 @@
|
|
|
1900
1932
|
syntax: "*";
|
|
1901
1933
|
inherits: false;
|
|
1902
1934
|
}
|
|
1903
|
-
@property --tw-space-y-reverse {
|
|
1904
|
-
syntax: "*";
|
|
1905
|
-
inherits: false;
|
|
1906
|
-
initial-value: 0;
|
|
1907
|
-
}
|
|
1908
1935
|
@property --tw-border-style {
|
|
1909
1936
|
syntax: "*";
|
|
1910
1937
|
inherits: false;
|
|
@@ -2111,7 +2138,6 @@
|
|
|
2111
2138
|
--tw-rotate-z: initial;
|
|
2112
2139
|
--tw-skew-x: initial;
|
|
2113
2140
|
--tw-skew-y: initial;
|
|
2114
|
-
--tw-space-y-reverse: 0;
|
|
2115
2141
|
--tw-border-style: solid;
|
|
2116
2142
|
--tw-leading: initial;
|
|
2117
2143
|
--tw-font-weight: initial;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
declare const meta: Meta;
|
|
3
|
-
export default meta;
|
|
4
|
-
type Story = StoryObj;
|
|
5
|
-
export declare const CompoundAPI: Story;
|
|
6
|
-
export declare const WithStatus: Story;
|
|
7
|
-
export declare const Disabled: Story;
|
|
8
|
-
//# sourceMappingURL=Tabs.figma.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.figma.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.figma.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,QAAA,MAAM,IAAI,EAAE,IAKX,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC;AAEtB,eAAO,MAAM,WAAW,EAAE,KASzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAYxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAYtB,CAAC"}
|