@portnet/ui 5.0.28 → 6.0.0
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/CHANGELOG.md +524 -0
- package/README.md +101 -38
- package/dist/index.d.ts +59 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +174 -203
- package/dist/index.js.map +1 -0
- package/dist/v2/__tests__/MobileRowCard.test.js +337 -0
- package/dist/v2/__tests__/MobileRowCard.test.js.map +1 -0
- package/dist/v2/__tests__/apiError.test.js +182 -0
- package/dist/v2/__tests__/apiError.test.js.map +1 -0
- package/dist/v2/__tests__/banned-patterns.test.js +272 -0
- package/dist/v2/__tests__/banned-patterns.test.js.map +1 -0
- package/dist/v2/__tests__/contrast-palette.test.js +225 -0
- package/dist/v2/__tests__/contrast-palette.test.js.map +1 -0
- package/dist/v2/__tests__/cssVariables.test.js +158 -0
- package/dist/v2/__tests__/cssVariables.test.js.map +1 -0
- package/dist/v2/__tests__/labels-merge.test.js +153 -0
- package/dist/v2/__tests__/labels-merge.test.js.map +1 -0
- package/dist/v2/__tests__/locale-fallback.test.js +111 -0
- package/dist/v2/__tests__/locale-fallback.test.js.map +1 -0
- package/dist/v2/__tests__/useFocusTrap.test.js +517 -0
- package/dist/v2/__tests__/useFocusTrap.test.js.map +1 -0
- package/dist/v2/components/Accordion.d.ts +56 -0
- package/dist/v2/components/Accordion.d.ts.map +1 -0
- package/dist/v2/components/Accordion.js +238 -0
- package/dist/v2/components/Accordion.js.map +1 -0
- package/dist/v2/components/ActionStrip.d.ts +67 -0
- package/dist/v2/components/ActionStrip.d.ts.map +1 -0
- package/dist/v2/components/ActionStrip.js +154 -0
- package/dist/v2/components/ActionStrip.js.map +1 -0
- package/dist/v2/components/Banner.d.ts +49 -0
- package/dist/v2/components/Banner.d.ts.map +1 -0
- package/dist/v2/components/Banner.js +183 -0
- package/dist/v2/components/Banner.js.map +1 -0
- package/dist/v2/components/Busy.d.ts +18 -0
- package/dist/v2/components/Busy.d.ts.map +1 -0
- package/dist/v2/components/Busy.js +104 -0
- package/dist/v2/components/Busy.js.map +1 -0
- package/dist/v2/components/Button.d.ts +36 -0
- package/dist/v2/components/Button.d.ts.map +1 -0
- package/dist/v2/components/Button.js +122 -0
- package/dist/v2/components/Button.js.map +1 -0
- package/dist/v2/components/CategoryTag.d.ts +45 -0
- package/dist/v2/components/CategoryTag.d.ts.map +1 -0
- package/dist/v2/components/CategoryTag.js +89 -0
- package/dist/v2/components/CategoryTag.js.map +1 -0
- package/dist/v2/components/Checkbox.d.ts +59 -0
- package/dist/v2/components/Checkbox.d.ts.map +1 -0
- package/dist/v2/components/Checkbox.js +134 -0
- package/dist/v2/components/Checkbox.js.map +1 -0
- package/dist/v2/components/Chip.d.ts +48 -0
- package/dist/v2/components/Chip.d.ts.map +1 -0
- package/dist/v2/components/Chip.js +131 -0
- package/dist/v2/components/Chip.js.map +1 -0
- package/dist/v2/components/Combobox.d.ts +134 -0
- package/dist/v2/components/Combobox.d.ts.map +1 -0
- package/dist/v2/components/Combobox.js +399 -0
- package/dist/v2/components/Combobox.js.map +1 -0
- package/dist/v2/components/CommandPalette.d.ts +36 -0
- package/dist/v2/components/CommandPalette.d.ts.map +1 -0
- package/dist/v2/components/CommandPalette.js +672 -0
- package/dist/v2/components/CommandPalette.js.map +1 -0
- package/dist/v2/components/ConfirmDialog.d.ts +23 -0
- package/dist/v2/components/ConfirmDialog.d.ts.map +1 -0
- package/dist/v2/components/ConfirmDialog.js +150 -0
- package/dist/v2/components/ConfirmDialog.js.map +1 -0
- package/dist/v2/components/DatePicker.d.ts +21 -0
- package/dist/v2/components/DatePicker.d.ts.map +1 -0
- package/dist/v2/components/DatePicker.js +207 -0
- package/dist/v2/components/DatePicker.js.map +1 -0
- package/dist/v2/components/DateRangePicker.d.ts +81 -0
- package/dist/v2/components/DateRangePicker.d.ts.map +1 -0
- package/dist/v2/components/DateRangePicker.js +295 -0
- package/dist/v2/components/DateRangePicker.js.map +1 -0
- package/dist/v2/components/DateTimePicker.d.ts +21 -0
- package/dist/v2/components/DateTimePicker.d.ts.map +1 -0
- package/dist/v2/components/DateTimePicker.js +189 -0
- package/dist/v2/components/DateTimePicker.js.map +1 -0
- package/dist/v2/components/Drawer.d.ts +34 -0
- package/dist/v2/components/Drawer.d.ts.map +1 -0
- package/dist/v2/components/Drawer.js +339 -0
- package/dist/v2/components/Drawer.js.map +1 -0
- package/dist/v2/components/Dropzone.d.ts +150 -0
- package/dist/v2/components/Dropzone.d.ts.map +1 -0
- package/dist/v2/components/Dropzone.js +539 -0
- package/dist/v2/components/Dropzone.js.map +1 -0
- package/dist/v2/components/EmptyState.d.ts +36 -0
- package/dist/v2/components/EmptyState.d.ts.map +1 -0
- package/dist/v2/components/EmptyState.js +112 -0
- package/dist/v2/components/EmptyState.js.map +1 -0
- package/dist/v2/components/FavoriteToggle.d.ts +22 -0
- package/dist/v2/components/FavoriteToggle.d.ts.map +1 -0
- package/dist/v2/components/FavoriteToggle.js +134 -0
- package/dist/v2/components/FavoriteToggle.js.map +1 -0
- package/dist/v2/components/Field.d.ts +58 -0
- package/dist/v2/components/Field.d.ts.map +1 -0
- package/dist/v2/components/Field.js +186 -0
- package/dist/v2/components/Field.js.map +1 -0
- package/dist/v2/components/FieldHelp.d.ts +54 -0
- package/dist/v2/components/FieldHelp.d.ts.map +1 -0
- package/dist/v2/components/FieldHelp.js +209 -0
- package/dist/v2/components/FieldHelp.js.map +1 -0
- package/dist/v2/components/FilterTab.d.ts +35 -0
- package/dist/v2/components/FilterTab.d.ts.map +1 -0
- package/dist/v2/components/FilterTab.js +144 -0
- package/dist/v2/components/FilterTab.js.map +1 -0
- package/dist/v2/components/ForbiddenPage.d.ts +40 -0
- package/dist/v2/components/ForbiddenPage.d.ts.map +1 -0
- package/dist/v2/components/ForbiddenPage.js +81 -0
- package/dist/v2/components/ForbiddenPage.js.map +1 -0
- package/dist/v2/components/FormGrid.d.ts +76 -0
- package/dist/v2/components/FormGrid.d.ts.map +1 -0
- package/dist/v2/components/FormGrid.js +177 -0
- package/dist/v2/components/FormGrid.js.map +1 -0
- package/dist/v2/components/FormikDisplay.d.ts +38 -0
- package/dist/v2/components/FormikDisplay.d.ts.map +1 -0
- package/dist/v2/components/FormikDisplay.js +125 -0
- package/dist/v2/components/FormikDisplay.js.map +1 -0
- package/dist/v2/components/Input.d.ts +62 -0
- package/dist/v2/components/Input.d.ts.map +1 -0
- package/dist/v2/components/Input.js +115 -0
- package/dist/v2/components/Input.js.map +1 -0
- package/dist/v2/components/KPICard.d.ts +22 -0
- package/dist/v2/components/KPICard.d.ts.map +1 -0
- package/dist/v2/components/KPICard.js +205 -0
- package/dist/v2/components/KPICard.js.map +1 -0
- package/dist/v2/components/KV.d.ts +25 -0
- package/dist/v2/components/KV.d.ts.map +1 -0
- package/dist/v2/components/KV.js +82 -0
- package/dist/v2/components/KV.js.map +1 -0
- package/dist/v2/components/KVGrid.d.ts +44 -0
- package/dist/v2/components/KVGrid.d.ts.map +1 -0
- package/dist/v2/components/KVGrid.js +73 -0
- package/dist/v2/components/KVGrid.js.map +1 -0
- package/dist/v2/components/Layout.d.ts +78 -0
- package/dist/v2/components/Layout.d.ts.map +1 -0
- package/dist/v2/components/Layout.js +284 -0
- package/dist/v2/components/Layout.js.map +1 -0
- package/dist/v2/components/MobileRowCard.d.ts +63 -0
- package/dist/v2/components/MobileRowCard.d.ts.map +1 -0
- package/dist/v2/components/MobileRowCard.js +321 -0
- package/dist/v2/components/MobileRowCard.js.map +1 -0
- package/dist/v2/components/Modal.d.ts +21 -0
- package/dist/v2/components/Modal.d.ts.map +1 -0
- package/dist/v2/components/Modal.js +281 -0
- package/dist/v2/components/Modal.js.map +1 -0
- package/dist/v2/components/NetworkErrorPage.d.ts +11 -0
- package/dist/v2/components/NetworkErrorPage.d.ts.map +1 -0
- package/dist/v2/components/NetworkErrorPage.js +86 -0
- package/dist/v2/components/NetworkErrorPage.js.map +1 -0
- package/dist/v2/components/NotFoundPage.d.ts +9 -0
- package/dist/v2/components/NotFoundPage.d.ts.map +1 -0
- package/dist/v2/components/NotFoundPage.js +66 -0
- package/dist/v2/components/NotFoundPage.js.map +1 -0
- package/dist/v2/components/NumberInput.d.ts +83 -0
- package/dist/v2/components/NumberInput.d.ts.map +1 -0
- package/dist/v2/components/NumberInput.js +316 -0
- package/dist/v2/components/NumberInput.js.map +1 -0
- package/dist/v2/components/OverflowMenu.d.ts +55 -0
- package/dist/v2/components/OverflowMenu.d.ts.map +1 -0
- package/dist/v2/components/OverflowMenu.js +196 -0
- package/dist/v2/components/OverflowMenu.js.map +1 -0
- package/dist/v2/components/PdfViewer.d.ts +56 -0
- package/dist/v2/components/PdfViewer.d.ts.map +1 -0
- package/dist/v2/components/PdfViewer.js +132 -0
- package/dist/v2/components/PdfViewer.js.map +1 -0
- package/dist/v2/components/ProgressBar.d.ts +53 -0
- package/dist/v2/components/ProgressBar.d.ts.map +1 -0
- package/dist/v2/components/ProgressBar.js +209 -0
- package/dist/v2/components/ProgressBar.js.map +1 -0
- package/dist/v2/components/Radio.d.ts +78 -0
- package/dist/v2/components/Radio.d.ts.map +1 -0
- package/dist/v2/components/Radio.js +238 -0
- package/dist/v2/components/Radio.js.map +1 -0
- package/dist/v2/components/SectionHeader.d.ts +53 -0
- package/dist/v2/components/SectionHeader.d.ts.map +1 -0
- package/dist/v2/components/SectionHeader.js +140 -0
- package/dist/v2/components/SectionHeader.js.map +1 -0
- package/dist/v2/components/Segmented.d.ts +61 -0
- package/dist/v2/components/Segmented.d.ts.map +1 -0
- package/dist/v2/components/Segmented.js +261 -0
- package/dist/v2/components/Segmented.js.map +1 -0
- package/dist/v2/components/Select.d.ts +72 -0
- package/dist/v2/components/Select.d.ts.map +1 -0
- package/dist/v2/components/Select.js +382 -0
- package/dist/v2/components/Select.js.map +1 -0
- package/dist/v2/components/ServerErrorPage.d.ts +11 -0
- package/dist/v2/components/ServerErrorPage.d.ts.map +1 -0
- package/dist/v2/components/ServerErrorPage.js +82 -0
- package/dist/v2/components/ServerErrorPage.js.map +1 -0
- package/dist/v2/components/Skeleton.d.ts +56 -0
- package/dist/v2/components/Skeleton.d.ts.map +1 -0
- package/dist/v2/components/Skeleton.js +281 -0
- package/dist/v2/components/Skeleton.js.map +1 -0
- package/dist/v2/components/SkipLink.d.ts +30 -0
- package/dist/v2/components/SkipLink.d.ts.map +1 -0
- package/dist/v2/components/SkipLink.js +58 -0
- package/dist/v2/components/SkipLink.js.map +1 -0
- package/dist/v2/components/Spinner.d.ts +40 -0
- package/dist/v2/components/Spinner.d.ts.map +1 -0
- package/dist/v2/components/Spinner.js +76 -0
- package/dist/v2/components/Spinner.js.map +1 -0
- package/dist/v2/components/Status.d.ts +42 -0
- package/dist/v2/components/Status.d.ts.map +1 -0
- package/dist/v2/components/Status.js +71 -0
- package/dist/v2/components/Status.js.map +1 -0
- package/dist/v2/components/Stepper.d.ts +136 -0
- package/dist/v2/components/Stepper.d.ts.map +1 -0
- package/dist/v2/components/Stepper.js +415 -0
- package/dist/v2/components/Stepper.js.map +1 -0
- package/dist/v2/components/Switch.d.ts +30 -0
- package/dist/v2/components/Switch.d.ts.map +1 -0
- package/dist/v2/components/Switch.js +136 -0
- package/dist/v2/components/Switch.js.map +1 -0
- package/dist/v2/components/Tabs.d.ts +49 -0
- package/dist/v2/components/Tabs.d.ts.map +1 -0
- package/dist/v2/components/Tabs.js +160 -0
- package/dist/v2/components/Tabs.js.map +1 -0
- package/dist/v2/components/TelInput.d.ts +33 -0
- package/dist/v2/components/TelInput.d.ts.map +1 -0
- package/dist/v2/components/TelInput.js +282 -0
- package/dist/v2/components/TelInput.js.map +1 -0
- package/dist/v2/components/Textarea.d.ts +23 -0
- package/dist/v2/components/Textarea.d.ts.map +1 -0
- package/dist/v2/components/Textarea.js +80 -0
- package/dist/v2/components/Textarea.js.map +1 -0
- package/dist/v2/components/TimePicker.d.ts +21 -0
- package/dist/v2/components/TimePicker.d.ts.map +1 -0
- package/dist/v2/components/TimePicker.js +141 -0
- package/dist/v2/components/TimePicker.js.map +1 -0
- package/dist/v2/components/Toast.d.ts +32 -0
- package/dist/v2/components/Toast.d.ts.map +1 -0
- package/dist/v2/components/Toast.js +384 -0
- package/dist/v2/components/Toast.js.map +1 -0
- package/dist/v2/components/Tooltip.d.ts +9 -0
- package/dist/v2/components/Tooltip.d.ts.map +1 -0
- package/dist/v2/components/Tooltip.js +169 -0
- package/dist/v2/components/Tooltip.js.map +1 -0
- package/dist/v2/components/_ErrorPageBody.d.ts +48 -0
- package/dist/v2/components/_ErrorPageBody.d.ts.map +1 -0
- package/dist/v2/components/_ErrorPageBody.js +96 -0
- package/dist/v2/components/_ErrorPageBody.js.map +1 -0
- package/dist/v2/components/_pickerShared.d.ts +47 -0
- package/dist/v2/components/_pickerShared.d.ts.map +1 -0
- package/dist/v2/components/_pickerShared.js +68 -0
- package/dist/v2/components/_pickerShared.js.map +1 -0
- package/dist/v2/components/index.d.ts +83 -0
- package/dist/v2/components/index.d.ts.map +1 -0
- package/dist/v2/components/index.js +477 -0
- package/dist/v2/components/index.js.map +1 -0
- package/dist/v2/hooks/index.d.ts +11 -0
- package/dist/v2/hooks/index.d.ts.map +1 -0
- package/dist/v2/hooks/index.js +85 -0
- package/dist/v2/hooks/index.js.map +1 -0
- package/dist/v2/hooks/useDelayedFlag.d.ts +22 -0
- package/dist/v2/hooks/useDelayedFlag.d.ts.map +1 -0
- package/dist/v2/hooks/useDelayedFlag.js +60 -0
- package/dist/v2/hooks/useDelayedFlag.js.map +1 -0
- package/dist/v2/hooks/useDensity.d.ts +23 -0
- package/dist/v2/hooks/useDensity.d.ts.map +1 -0
- package/dist/v2/hooks/useDensity.js +124 -0
- package/dist/v2/hooks/useDensity.js.map +1 -0
- package/dist/v2/hooks/useFocusFirstError.d.ts +121 -0
- package/dist/v2/hooks/useFocusFirstError.d.ts.map +1 -0
- package/dist/v2/hooks/useFocusFirstError.js +203 -0
- package/dist/v2/hooks/useFocusFirstError.js.map +1 -0
- package/dist/v2/hooks/useFocusTrap.d.ts +3 -0
- package/dist/v2/hooks/useFocusTrap.d.ts.map +1 -0
- package/dist/v2/hooks/useFocusTrap.js +207 -0
- package/dist/v2/hooks/useFocusTrap.js.map +1 -0
- package/dist/v2/hooks/useFormAutoSave.d.ts +42 -0
- package/dist/v2/hooks/useFormAutoSave.d.ts.map +1 -0
- package/dist/v2/hooks/useFormAutoSave.js +186 -0
- package/dist/v2/hooks/useFormAutoSave.js.map +1 -0
- package/dist/v2/hooks/useFormCompletionProgress.d.ts +52 -0
- package/dist/v2/hooks/useFormCompletionProgress.d.ts.map +1 -0
- package/dist/v2/hooks/useFormCompletionProgress.js +136 -0
- package/dist/v2/hooks/useFormCompletionProgress.js.map +1 -0
- package/dist/v2/hooks/useResolvedDensity.d.ts +31 -0
- package/dist/v2/hooks/useResolvedDensity.d.ts.map +1 -0
- package/dist/v2/hooks/useResolvedDensity.js +50 -0
- package/dist/v2/hooks/useResolvedDensity.js.map +1 -0
- package/dist/v2/hooks/useSortedRows.d.ts +25 -0
- package/dist/v2/hooks/useSortedRows.d.ts.map +1 -0
- package/dist/v2/hooks/useSortedRows.js +38 -0
- package/dist/v2/hooks/useSortedRows.js.map +1 -0
- package/dist/v2/hooks/useTabLoading.d.ts +39 -0
- package/dist/v2/hooks/useTabLoading.d.ts.map +1 -0
- package/dist/v2/hooks/useTabLoading.js +85 -0
- package/dist/v2/hooks/useTabLoading.js.map +1 -0
- package/dist/v2/index.d.ts +115 -0
- package/dist/v2/index.d.ts.map +1 -0
- package/dist/v2/index.js +1127 -0
- package/dist/v2/index.js.map +1 -0
- package/dist/v2/modalContext.d.ts +96 -0
- package/dist/v2/modalContext.d.ts.map +1 -0
- package/dist/v2/modalContext.js +113 -0
- package/dist/v2/modalContext.js.map +1 -0
- package/dist/v2/models/favorite.d.ts +14 -0
- package/dist/v2/models/favorite.d.ts.map +1 -0
- package/dist/v2/models/favorite.js +6 -0
- package/dist/v2/models/favorite.js.map +1 -0
- package/dist/v2/models/index.d.ts +11 -0
- package/dist/v2/models/index.d.ts.map +1 -0
- package/dist/v2/models/index.js +50 -0
- package/dist/v2/models/index.js.map +1 -0
- package/dist/v2/models/personalization.d.ts +65 -0
- package/dist/v2/models/personalization.d.ts.map +1 -0
- package/dist/v2/models/personalization.js +6 -0
- package/dist/v2/models/personalization.js.map +1 -0
- package/dist/v2/models/referentiel.d.ts +67 -0
- package/dist/v2/models/referentiel.d.ts.map +1 -0
- package/dist/v2/models/referentiel.js +6 -0
- package/dist/v2/models/referentiel.js.map +1 -0
- package/dist/v2/models/savedFilter.d.ts +22 -0
- package/dist/v2/models/savedFilter.d.ts.map +1 -0
- package/dist/v2/models/savedFilter.js +6 -0
- package/dist/v2/models/savedFilter.js.map +1 -0
- package/dist/v2/patterns/ActionBar.d.ts +137 -0
- package/dist/v2/patterns/ActionBar.d.ts.map +1 -0
- package/dist/v2/patterns/ActionBar.js +601 -0
- package/dist/v2/patterns/ActionBar.js.map +1 -0
- package/dist/v2/patterns/BulkActionBar.d.ts +63 -0
- package/dist/v2/patterns/BulkActionBar.d.ts.map +1 -0
- package/dist/v2/patterns/BulkActionBar.js +153 -0
- package/dist/v2/patterns/BulkActionBar.js.map +1 -0
- package/dist/v2/patterns/CollapsibleDataGrid.d.ts +62 -0
- package/dist/v2/patterns/CollapsibleDataGrid.d.ts.map +1 -0
- package/dist/v2/patterns/CollapsibleDataGrid.js +306 -0
- package/dist/v2/patterns/CollapsibleDataGrid.js.map +1 -0
- package/dist/v2/patterns/ColumnsToggle.d.ts +55 -0
- package/dist/v2/patterns/ColumnsToggle.d.ts.map +1 -0
- package/dist/v2/patterns/ColumnsToggle.js +314 -0
- package/dist/v2/patterns/ColumnsToggle.js.map +1 -0
- package/dist/v2/patterns/DataGrid.d.ts +7 -0
- package/dist/v2/patterns/DataGrid.d.ts.map +1 -0
- package/dist/v2/patterns/DataGrid.js +834 -0
- package/dist/v2/patterns/DataGrid.js.map +1 -0
- package/dist/v2/patterns/DataGridSettingsMenu.d.ts +68 -0
- package/dist/v2/patterns/DataGridSettingsMenu.d.ts.map +1 -0
- package/dist/v2/patterns/DataGridSettingsMenu.js +381 -0
- package/dist/v2/patterns/DataGridSettingsMenu.js.map +1 -0
- package/dist/v2/patterns/DataGridToolbar.d.ts +81 -0
- package/dist/v2/patterns/DataGridToolbar.d.ts.map +1 -0
- package/dist/v2/patterns/DataGridToolbar.js +255 -0
- package/dist/v2/patterns/DataGridToolbar.js.map +1 -0
- package/dist/v2/patterns/DataGridVirtualized.d.ts +76 -0
- package/dist/v2/patterns/DataGridVirtualized.d.ts.map +1 -0
- package/dist/v2/patterns/DataGridVirtualized.js +528 -0
- package/dist/v2/patterns/DataGridVirtualized.js.map +1 -0
- package/dist/v2/patterns/DeleteResourceConfirmDialog.d.ts +46 -0
- package/dist/v2/patterns/DeleteResourceConfirmDialog.d.ts.map +1 -0
- package/dist/v2/patterns/DeleteResourceConfirmDialog.js +77 -0
- package/dist/v2/patterns/DeleteResourceConfirmDialog.js.map +1 -0
- package/dist/v2/patterns/FavoriteColumn.d.ts +72 -0
- package/dist/v2/patterns/FavoriteColumn.d.ts.map +1 -0
- package/dist/v2/patterns/FavoriteColumn.js +171 -0
- package/dist/v2/patterns/FavoriteColumn.js.map +1 -0
- package/dist/v2/patterns/FavoritesFilter.d.ts +51 -0
- package/dist/v2/patterns/FavoritesFilter.d.ts.map +1 -0
- package/dist/v2/patterns/FavoritesFilter.js +97 -0
- package/dist/v2/patterns/FavoritesFilter.js.map +1 -0
- package/dist/v2/patterns/FormErrorSummary.d.ts +39 -0
- package/dist/v2/patterns/FormErrorSummary.d.ts.map +1 -0
- package/dist/v2/patterns/FormErrorSummary.js +111 -0
- package/dist/v2/patterns/FormErrorSummary.js.map +1 -0
- package/dist/v2/patterns/FormPageShell.d.ts +55 -0
- package/dist/v2/patterns/FormPageShell.d.ts.map +1 -0
- package/dist/v2/patterns/FormPageShell.js +133 -0
- package/dist/v2/patterns/FormPageShell.js.map +1 -0
- package/dist/v2/patterns/FormSection.d.ts +53 -0
- package/dist/v2/patterns/FormSection.d.ts.map +1 -0
- package/dist/v2/patterns/FormSection.js +162 -0
- package/dist/v2/patterns/FormSection.js.map +1 -0
- package/dist/v2/patterns/FormikCheckboxGroup.d.ts +51 -0
- package/dist/v2/patterns/FormikCheckboxGroup.d.ts.map +1 -0
- package/dist/v2/patterns/FormikCheckboxGroup.js +117 -0
- package/dist/v2/patterns/FormikCheckboxGroup.js.map +1 -0
- package/dist/v2/patterns/FormikCombobox.d.ts +43 -0
- package/dist/v2/patterns/FormikCombobox.d.ts.map +1 -0
- package/dist/v2/patterns/FormikCombobox.js +121 -0
- package/dist/v2/patterns/FormikCombobox.js.map +1 -0
- package/dist/v2/patterns/FormikDatePicker.d.ts +87 -0
- package/dist/v2/patterns/FormikDatePicker.d.ts.map +1 -0
- package/dist/v2/patterns/FormikDatePicker.js +177 -0
- package/dist/v2/patterns/FormikDatePicker.js.map +1 -0
- package/dist/v2/patterns/FormikErrorFocus.d.ts +59 -0
- package/dist/v2/patterns/FormikErrorFocus.d.ts.map +1 -0
- package/dist/v2/patterns/FormikErrorFocus.js +83 -0
- package/dist/v2/patterns/FormikErrorFocus.js.map +1 -0
- package/dist/v2/patterns/FormikFile.d.ts +43 -0
- package/dist/v2/patterns/FormikFile.d.ts.map +1 -0
- package/dist/v2/patterns/FormikFile.js +156 -0
- package/dist/v2/patterns/FormikFile.js.map +1 -0
- package/dist/v2/patterns/FormikInput.d.ts +37 -0
- package/dist/v2/patterns/FormikInput.d.ts.map +1 -0
- package/dist/v2/patterns/FormikInput.js +87 -0
- package/dist/v2/patterns/FormikInput.js.map +1 -0
- package/dist/v2/patterns/FormikReferentielField.d.ts +33 -0
- package/dist/v2/patterns/FormikReferentielField.d.ts.map +1 -0
- package/dist/v2/patterns/FormikReferentielField.js +124 -0
- package/dist/v2/patterns/FormikReferentielField.js.map +1 -0
- package/dist/v2/patterns/FormikSelect.d.ts +40 -0
- package/dist/v2/patterns/FormikSelect.d.ts.map +1 -0
- package/dist/v2/patterns/FormikSelect.js +139 -0
- package/dist/v2/patterns/FormikSelect.js.map +1 -0
- package/dist/v2/patterns/FormikTextarea.d.ts +31 -0
- package/dist/v2/patterns/FormikTextarea.d.ts.map +1 -0
- package/dist/v2/patterns/FormikTextarea.js +84 -0
- package/dist/v2/patterns/FormikTextarea.js.map +1 -0
- package/dist/v2/patterns/KeyboardShortcutsHelp.d.ts +44 -0
- package/dist/v2/patterns/KeyboardShortcutsHelp.d.ts.map +1 -0
- package/dist/v2/patterns/KeyboardShortcutsHelp.js +207 -0
- package/dist/v2/patterns/KeyboardShortcutsHelp.js.map +1 -0
- package/dist/v2/patterns/NetworkErrorBanner.d.ts +26 -0
- package/dist/v2/patterns/NetworkErrorBanner.d.ts.map +1 -0
- package/dist/v2/patterns/NetworkErrorBanner.js +82 -0
- package/dist/v2/patterns/NetworkErrorBanner.js.map +1 -0
- package/dist/v2/patterns/PageContent.d.ts +40 -0
- package/dist/v2/patterns/PageContent.d.ts.map +1 -0
- package/dist/v2/patterns/PageContent.js +69 -0
- package/dist/v2/patterns/PageContent.js.map +1 -0
- package/dist/v2/patterns/ReferentielField.d.ts +118 -0
- package/dist/v2/patterns/ReferentielField.d.ts.map +1 -0
- package/dist/v2/patterns/ReferentielField.js +617 -0
- package/dist/v2/patterns/ReferentielField.js.map +1 -0
- package/dist/v2/patterns/SaveFilterDialog.d.ts +68 -0
- package/dist/v2/patterns/SaveFilterDialog.d.ts.map +1 -0
- package/dist/v2/patterns/SaveFilterDialog.js +203 -0
- package/dist/v2/patterns/SaveFilterDialog.js.map +1 -0
- package/dist/v2/patterns/SavedFiltersMenu.d.ts +74 -0
- package/dist/v2/patterns/SavedFiltersMenu.d.ts.map +1 -0
- package/dist/v2/patterns/SavedFiltersMenu.js +412 -0
- package/dist/v2/patterns/SavedFiltersMenu.js.map +1 -0
- package/dist/v2/patterns/SkeletonPageShell.d.ts +76 -0
- package/dist/v2/patterns/SkeletonPageShell.d.ts.map +1 -0
- package/dist/v2/patterns/SkeletonPageShell.js +347 -0
- package/dist/v2/patterns/SkeletonPageShell.js.map +1 -0
- package/dist/v2/patterns/SortableHeader.d.ts +47 -0
- package/dist/v2/patterns/SortableHeader.d.ts.map +1 -0
- package/dist/v2/patterns/SortableHeader.js +193 -0
- package/dist/v2/patterns/SortableHeader.js.map +1 -0
- package/dist/v2/patterns/Tour.d.ts +55 -0
- package/dist/v2/patterns/Tour.d.ts.map +1 -0
- package/dist/v2/patterns/Tour.js +473 -0
- package/dist/v2/patterns/Tour.js.map +1 -0
- package/dist/v2/patterns/_dataGridShared.d.ts +125 -0
- package/dist/v2/patterns/_dataGridShared.d.ts.map +1 -0
- package/dist/v2/patterns/_dataGridShared.js +406 -0
- package/dist/v2/patterns/_dataGridShared.js.map +1 -0
- package/dist/v2/patterns/_sort.d.ts +22 -0
- package/dist/v2/patterns/_sort.d.ts.map +1 -0
- package/dist/v2/patterns/_sort.js +118 -0
- package/dist/v2/patterns/_sort.js.map +1 -0
- package/dist/v2/patterns/_useColumnReorder.d.ts +69 -0
- package/dist/v2/patterns/_useColumnReorder.d.ts.map +1 -0
- package/dist/v2/patterns/_useColumnReorder.js +264 -0
- package/dist/v2/patterns/_useColumnReorder.js.map +1 -0
- package/dist/v2/patterns/_useColumnResize.d.ts +49 -0
- package/dist/v2/patterns/_useColumnResize.d.ts.map +1 -0
- package/dist/v2/patterns/_useColumnResize.js +198 -0
- package/dist/v2/patterns/_useColumnResize.js.map +1 -0
- package/dist/v2/patterns/index.d.ts +62 -0
- package/dist/v2/patterns/index.d.ts.map +1 -0
- package/dist/v2/patterns/index.js +246 -0
- package/dist/v2/patterns/index.js.map +1 -0
- package/dist/v2/personalization/PersonalizationProvider.d.ts +80 -0
- package/dist/v2/personalization/PersonalizationProvider.d.ts.map +1 -0
- package/dist/v2/personalization/PersonalizationProvider.js +177 -0
- package/dist/v2/personalization/PersonalizationProvider.js.map +1 -0
- package/dist/v2/personalization/adapters/_storageKey.d.ts +35 -0
- package/dist/v2/personalization/adapters/_storageKey.d.ts.map +1 -0
- package/dist/v2/personalization/adapters/_storageKey.js +69 -0
- package/dist/v2/personalization/adapters/_storageKey.js.map +1 -0
- package/dist/v2/personalization/adapters/createLocalStorageAdapter.d.ts +31 -0
- package/dist/v2/personalization/adapters/createLocalStorageAdapter.d.ts.map +1 -0
- package/dist/v2/personalization/adapters/createLocalStorageAdapter.js +128 -0
- package/dist/v2/personalization/adapters/createLocalStorageAdapter.js.map +1 -0
- package/dist/v2/personalization/adapters/createMemoryAdapter.d.ts +25 -0
- package/dist/v2/personalization/adapters/createMemoryAdapter.d.ts.map +1 -0
- package/dist/v2/personalization/adapters/createMemoryAdapter.js +76 -0
- package/dist/v2/personalization/adapters/createMemoryAdapter.js.map +1 -0
- package/dist/v2/personalization/adapters/index.d.ts +10 -0
- package/dist/v2/personalization/adapters/index.d.ts.map +1 -0
- package/dist/v2/personalization/adapters/index.js +21 -0
- package/dist/v2/personalization/adapters/index.js.map +1 -0
- package/dist/v2/personalization/capabilities/favorites.d.ts +53 -0
- package/dist/v2/personalization/capabilities/favorites.d.ts.map +1 -0
- package/dist/v2/personalization/capabilities/favorites.js +223 -0
- package/dist/v2/personalization/capabilities/favorites.js.map +1 -0
- package/dist/v2/personalization/capabilities/favoritesView.d.ts +58 -0
- package/dist/v2/personalization/capabilities/favoritesView.d.ts.map +1 -0
- package/dist/v2/personalization/capabilities/favoritesView.js +121 -0
- package/dist/v2/personalization/capabilities/favoritesView.js.map +1 -0
- package/dist/v2/personalization/capabilities/index.d.ts +16 -0
- package/dist/v2/personalization/capabilities/index.d.ts.map +1 -0
- package/dist/v2/personalization/capabilities/index.js +69 -0
- package/dist/v2/personalization/capabilities/index.js.map +1 -0
- package/dist/v2/personalization/capabilities/savedFilters.d.ts +61 -0
- package/dist/v2/personalization/capabilities/savedFilters.d.ts.map +1 -0
- package/dist/v2/personalization/capabilities/savedFilters.js +297 -0
- package/dist/v2/personalization/capabilities/savedFilters.js.map +1 -0
- package/dist/v2/personalization/createPersonalizationStore.d.ts +76 -0
- package/dist/v2/personalization/createPersonalizationStore.d.ts.map +1 -0
- package/dist/v2/personalization/createPersonalizationStore.js +475 -0
- package/dist/v2/personalization/createPersonalizationStore.js.map +1 -0
- package/dist/v2/personalization/index.d.ts +33 -0
- package/dist/v2/personalization/index.d.ts.map +1 -0
- package/dist/v2/personalization/index.js +111 -0
- package/dist/v2/personalization/index.js.map +1 -0
- package/dist/v2/personalization/personalizationContext.d.ts +78 -0
- package/dist/v2/personalization/personalizationContext.d.ts.map +1 -0
- package/dist/v2/personalization/personalizationContext.js +121 -0
- package/dist/v2/personalization/personalizationContext.js.map +1 -0
- package/dist/v2/personalization/schema.d.ts +60 -0
- package/dist/v2/personalization/schema.d.ts.map +1 -0
- package/dist/v2/personalization/schema.js +102 -0
- package/dist/v2/personalization/schema.js.map +1 -0
- package/dist/v2/personalization/types.d.ts +81 -0
- package/dist/v2/personalization/types.d.ts.map +1 -0
- package/dist/v2/personalization/types.js +6 -0
- package/dist/v2/personalization/types.js.map +1 -0
- package/dist/v2/referentiel/ReferentielProvider.d.ts +53 -0
- package/dist/v2/referentiel/ReferentielProvider.d.ts.map +1 -0
- package/dist/v2/referentiel/ReferentielProvider.js +94 -0
- package/dist/v2/referentiel/ReferentielProvider.js.map +1 -0
- package/dist/v2/referentiel/index.d.ts +18 -0
- package/dist/v2/referentiel/index.d.ts.map +1 -0
- package/dist/v2/referentiel/index.js +44 -0
- package/dist/v2/referentiel/index.js.map +1 -0
- package/dist/v2/referentiel/useReferentielClient.d.ts +15 -0
- package/dist/v2/referentiel/useReferentielClient.d.ts.map +1 -0
- package/dist/v2/referentiel/useReferentielClient.js +46 -0
- package/dist/v2/referentiel/useReferentielClient.js.map +1 -0
- package/dist/v2/referentiel/useReferentielOptions.d.ts +40 -0
- package/dist/v2/referentiel/useReferentielOptions.d.ts.map +1 -0
- package/dist/v2/referentiel/useReferentielOptions.js +177 -0
- package/dist/v2/referentiel/useReferentielOptions.js.map +1 -0
- package/dist/v2/referentiel/useReferentielSearch.d.ts +76 -0
- package/dist/v2/referentiel/useReferentielSearch.d.ts.map +1 -0
- package/dist/v2/referentiel/useReferentielSearch.js +140 -0
- package/dist/v2/referentiel/useReferentielSearch.js.map +1 -0
- package/dist/v2/styles/base.css +425 -0
- package/dist/v2/styles/css.d.ts +10 -0
- package/dist/v2/styles/index.d.ts +12 -0
- package/dist/v2/styles/index.d.ts.map +1 -0
- package/dist/v2/styles/index.js +4 -0
- package/dist/v2/styles/index.js.map +1 -0
- package/dist/v2/theme/_brand.d.ts +29 -0
- package/dist/v2/theme/_brand.d.ts.map +1 -0
- package/dist/v2/theme/_brand.js +69 -0
- package/dist/v2/theme/_brand.js.map +1 -0
- package/dist/v2/theme/_brandSecondary.d.ts +26 -0
- package/dist/v2/theme/_brandSecondary.d.ts.map +1 -0
- package/dist/v2/theme/_brandSecondary.js +65 -0
- package/dist/v2/theme/_brandSecondary.js.map +1 -0
- package/dist/v2/theme/createPortnetTheme.d.ts +50 -0
- package/dist/v2/theme/createPortnetTheme.d.ts.map +1 -0
- package/dist/v2/theme/createPortnetTheme.js +529 -0
- package/dist/v2/theme/createPortnetTheme.js.map +1 -0
- package/dist/v2/theme/cssVariables.d.ts +41 -0
- package/dist/v2/theme/cssVariables.d.ts.map +1 -0
- package/dist/v2/theme/cssVariables.js +205 -0
- package/dist/v2/theme/cssVariables.js.map +1 -0
- package/dist/v2/theme/index.d.ts +33 -0
- package/dist/v2/theme/index.d.ts.map +1 -0
- package/dist/v2/theme/index.js +60 -0
- package/dist/v2/theme/index.js.map +1 -0
- package/dist/v2/tokens/breakpoints.d.ts +74 -0
- package/dist/v2/tokens/breakpoints.d.ts.map +1 -0
- package/dist/v2/tokens/breakpoints.js +114 -0
- package/dist/v2/tokens/breakpoints.js.map +1 -0
- package/dist/v2/tokens/colors.d.ts +228 -0
- package/dist/v2/tokens/colors.d.ts.map +1 -0
- package/dist/v2/tokens/colors.js +225 -0
- package/dist/v2/tokens/colors.js.map +1 -0
- package/dist/v2/tokens/density.d.ts +142 -0
- package/dist/v2/tokens/density.d.ts.map +1 -0
- package/dist/v2/tokens/density.js +111 -0
- package/dist/v2/tokens/density.js.map +1 -0
- package/dist/v2/tokens/index.d.ts +556 -0
- package/dist/v2/tokens/index.d.ts.map +1 -0
- package/dist/v2/tokens/index.js +313 -0
- package/dist/v2/tokens/index.js.map +1 -0
- package/dist/v2/tokens/motion.d.ts +85 -0
- package/dist/v2/tokens/motion.d.ts.map +1 -0
- package/dist/v2/tokens/motion.js +94 -0
- package/dist/v2/tokens/motion.js.map +1 -0
- package/dist/v2/tokens/radius.d.ts +18 -0
- package/dist/v2/tokens/radius.d.ts.map +1 -0
- package/dist/v2/tokens/radius.js +28 -0
- package/dist/v2/tokens/radius.js.map +1 -0
- package/dist/v2/tokens/shadows.d.ts +25 -0
- package/dist/v2/tokens/shadows.d.ts.map +1 -0
- package/dist/v2/tokens/shadows.js +46 -0
- package/dist/v2/tokens/shadows.js.map +1 -0
- package/dist/v2/tokens/spacing.d.ts +38 -0
- package/dist/v2/tokens/spacing.d.ts.map +1 -0
- package/dist/v2/tokens/spacing.js +57 -0
- package/dist/v2/tokens/spacing.js.map +1 -0
- package/dist/v2/tokens/state.d.ts +40 -0
- package/dist/v2/tokens/state.d.ts.map +1 -0
- package/dist/v2/tokens/state.js +47 -0
- package/dist/v2/tokens/state.js.map +1 -0
- package/dist/v2/tokens/statusPalette.d.ts +54 -0
- package/dist/v2/tokens/statusPalette.d.ts.map +1 -0
- package/dist/v2/tokens/statusPalette.js +72 -0
- package/dist/v2/tokens/statusPalette.js.map +1 -0
- package/dist/v2/tokens/tokens.json +153 -0
- package/dist/v2/tokens/typography.d.ts +206 -0
- package/dist/v2/tokens/typography.d.ts.map +1 -0
- package/dist/v2/tokens/typography.js +155 -0
- package/dist/v2/tokens/typography.js.map +1 -0
- package/dist/v2/tokens/zIndex.d.ts +33 -0
- package/dist/v2/tokens/zIndex.d.ts.map +1 -0
- package/dist/v2/tokens/zIndex.js +50 -0
- package/dist/v2/tokens/zIndex.js.map +1 -0
- package/dist/v2/types/common.d.ts +24 -0
- package/dist/v2/types/common.d.ts.map +1 -0
- package/dist/v2/types/common.js +6 -0
- package/dist/v2/types/common.js.map +1 -0
- package/dist/v2/types/datagrid.d.ts +131 -0
- package/dist/v2/types/datagrid.d.ts.map +1 -0
- package/dist/v2/types/datagrid.js +6 -0
- package/dist/v2/types/datagrid.js.map +1 -0
- package/dist/v2/types/index.d.ts +11 -0
- package/dist/v2/types/index.d.ts.map +1 -0
- package/dist/v2/types/index.js +28 -0
- package/dist/v2/types/index.js.map +1 -0
- package/dist/v2/utils/apiError.d.ts +90 -0
- package/dist/v2/utils/apiError.d.ts.map +1 -0
- package/dist/v2/utils/apiError.js +227 -0
- package/dist/v2/utils/apiError.js.map +1 -0
- package/dist/v2/utils/contrast.d.ts +68 -0
- package/dist/v2/utils/contrast.d.ts.map +1 -0
- package/dist/v2/utils/contrast.js +167 -0
- package/dist/v2/utils/contrast.js.map +1 -0
- package/dist/v2/utils/cx.d.ts +9 -0
- package/dist/v2/utils/cx.d.ts.map +1 -0
- package/dist/v2/utils/cx.js +45 -0
- package/dist/v2/utils/cx.js.map +1 -0
- package/dist/v2/utils/fileDownload.d.ts +94 -0
- package/dist/v2/utils/fileDownload.d.ts.map +1 -0
- package/dist/v2/utils/fileDownload.js +236 -0
- package/dist/v2/utils/fileDownload.js.map +1 -0
- package/dist/v2/utils/fmtMoney.d.ts +28 -0
- package/dist/v2/utils/fmtMoney.d.ts.map +1 -0
- package/dist/v2/utils/fmtMoney.js +84 -0
- package/dist/v2/utils/fmtMoney.js.map +1 -0
- package/dist/v2/utils/index.d.ts +8 -0
- package/dist/v2/utils/index.d.ts.map +1 -0
- package/dist/v2/utils/index.js +90 -0
- package/dist/v2/utils/index.js.map +1 -0
- package/dist/v2/utils/networkStatus.d.ts +88 -0
- package/dist/v2/utils/networkStatus.d.ts.map +1 -0
- package/dist/v2/utils/networkStatus.js +121 -0
- package/dist/v2/utils/networkStatus.js.map +1 -0
- package/package.json +191 -76
- package/dist/api/guideApi.js +0 -12
- package/dist/api/guideImageService.js +0 -119
- package/dist/api/reclamationApi.js +0 -102
- package/dist/assets/guides/FAQ.json +0 -118
- package/dist/assets/guides/index.js +0 -11
- package/dist/assets/images/tijariaLogo.ico +0 -0
- package/dist/components/buttons/PuiButton.js +0 -217
- package/dist/components/buttons/PuiIconButton.js +0 -98
- package/dist/components/common/PuiAlertContext.js +0 -12
- package/dist/components/common/PuiHelpWidgetContext.js +0 -17
- package/dist/components/common/StyledMuiButton.js +0 -48
- package/dist/components/common/StyledMuiTextField.js +0 -180
- package/dist/components/inputs/PuiAutocomplete.js +0 -352
- package/dist/components/inputs/PuiCheckbox.js +0 -308
- package/dist/components/inputs/PuiCheckboxGroup.js +0 -215
- package/dist/components/inputs/PuiCheckboxItem.js +0 -162
- package/dist/components/inputs/PuiDateField.js +0 -280
- package/dist/components/inputs/PuiDateTimeField.js +0 -276
- package/dist/components/inputs/PuiFileField.js +0 -265
- package/dist/components/inputs/PuiRadioGroup.js +0 -197
- package/dist/components/inputs/PuiRadioItem.js +0 -100
- package/dist/components/inputs/PuiSelect.js +0 -427
- package/dist/components/inputs/PuiTextField.js +0 -263
- package/dist/components/others/PuiBadge.js +0 -58
- package/dist/components/others/PuiChip.js +0 -150
- package/dist/components/others/PuiDialog.js +0 -102
- package/dist/components/others/PuiFormikForm.js +0 -70
- package/dist/components/others/PuiGrid.js +0 -23
- package/dist/components/others/PuiIcon.js +0 -92
- package/dist/components/others/PuiLoadingBackdrop.js +0 -32
- package/dist/components/others/PuiMainContainer.js +0 -41
- package/dist/components/others/PuiNavigation.js +0 -68
- package/dist/components/others/PuiSection.js +0 -187
- package/dist/components/others/PuiTooltip.js +0 -86
- package/dist/components/providers/PuiAlertProvider.js +0 -134
- package/dist/components/providers/PuiHelpWidgetProvider.js +0 -91
- package/dist/components/providers/PuiLocalizationProvider.js +0 -34
- package/dist/components/referentiel/common/ReferetielContext.js +0 -12
- package/dist/components/referentiel/common/constants/specificReferentielsApis.js +0 -22
- package/dist/components/referentiel/common/constants/specificReferentielsBaseColumns.js +0 -691
- package/dist/components/referentiel/common/constants/specificReferentielsBaseFilters.js +0 -598
- package/dist/components/referentiel/common/constants/specificReferentielsInitialValues.js +0 -80
- package/dist/components/referentiel/common/constants/specificReferentielsKeys.js +0 -18
- package/dist/components/referentiel/common/constants/specificReferentielsTitles.js +0 -22
- package/dist/components/referentiel/common/constants/specificReferentielsValidationSchemas.js +0 -85
- package/dist/components/referentiel/components/PuiBasePopupReferentielField.js +0 -356
- package/dist/components/referentiel/components/PuiCustomPopupReferentielField.js +0 -181
- package/dist/components/referentiel/components/PuiSimplePopupReferentielField.js +0 -325
- package/dist/components/referentiel/components/PuiSimpleReferentielField.js +0 -203
- package/dist/components/referentiel/components/PuiSpecificReferentielField.js +0 -352
- package/dist/components/referentiel/providers/PuiReferentielProvider.js +0 -66
- package/dist/components/tab/PuiTab.js +0 -25
- package/dist/components/tab/PuiTabs.js +0 -148
- package/dist/components/table/PuiTable.js +0 -643
- package/dist/components/table/PuiTableAction.js +0 -75
- package/dist/components/typography/PuiDefinition.js +0 -42
- package/dist/components/typography/PuiIndication.js +0 -80
- package/dist/components/typography/PuiMainTitle.js +0 -144
- package/dist/components/ui/dialogs/PuiSearchDialog.js +0 -106
- package/dist/components/ui/pages/errors/PuiErrorBasePage.js +0 -73
- package/dist/components/ui/pages/errors/PuiForbiddenErrorPage.js +0 -36
- package/dist/components/ui/pages/errors/PuiNetworkErrorPage.js +0 -36
- package/dist/components/ui/pages/errors/PuiNotFoundErrorPage.js +0 -30
- package/dist/components/ui/pages/errors/PuiServerErrorPage.js +0 -37
- package/dist/components/ui/pages/general/PuiDefaultPage.js +0 -68
- package/dist/components/ui/pages/general/PuiSearchPage.js +0 -203
- package/dist/components/widgets/GuideImage.js +0 -251
- package/dist/components/widgets/PuiHelpWidget.js +0 -4167
- package/dist/config/apperance.js +0 -26
- package/dist/config/mapping.js +0 -26
- package/dist/config/referentiel.js +0 -10
- package/dist/general/yupValidationErrors.js +0 -8
- package/dist/hooks/useAlert.js +0 -19
- package/dist/hooks/useAxios.js +0 -23
- package/dist/hooks/useQuery.js +0 -21
- package/dist/hooks/useReclamation.js +0 -100
- package/dist/styles/ReclamationFormModal.css +0 -629
- package/dist/styles/help-widget.css +0 -621
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
Object.defineProperty(exports, "BREAKPOINT_KEYS", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _breakpoints.BREAKPOINT_KEYS;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "STATUS_KEYS", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function get() {
|
|
16
|
+
return _statusPalette.STATUS_KEYS;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "STATUS_LABELS_FR", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function get() {
|
|
22
|
+
return _statusPalette.STATUS_LABELS_FR;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "border", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function get() {
|
|
28
|
+
return _colors.border;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "bpValue", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function get() {
|
|
34
|
+
return _breakpoints.bpValue;
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "brand", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function get() {
|
|
40
|
+
return _colors.brand;
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "brandSecondary", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function get() {
|
|
46
|
+
return _colors.brandSecondary;
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, "breakpoints", {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function get() {
|
|
52
|
+
return _density.breakpoints;
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
Object.defineProperty(exports, "colors", {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function get() {
|
|
58
|
+
return _colors["default"];
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
Object.defineProperty(exports, "dark", {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function get() {
|
|
64
|
+
return _colors.dark;
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
exports["default"] = void 0;
|
|
68
|
+
Object.defineProperty(exports, "density", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function get() {
|
|
71
|
+
return _density.density;
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
Object.defineProperty(exports, "densityLayout", {
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function get() {
|
|
77
|
+
return _density["default"];
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "duration", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function get() {
|
|
83
|
+
return _motion.duration;
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
Object.defineProperty(exports, "durationCss", {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function get() {
|
|
89
|
+
return _motion.durationCss;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "easing", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function get() {
|
|
95
|
+
return _motion.easing;
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
Object.defineProperty(exports, "focus", {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function get() {
|
|
101
|
+
return _colors.focus;
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "fontFamily", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function get() {
|
|
107
|
+
return _typography.fontFamily;
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
Object.defineProperty(exports, "fontSize", {
|
|
111
|
+
enumerable: true,
|
|
112
|
+
get: function get() {
|
|
113
|
+
return _typography.fontSize;
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "fontWeight", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function get() {
|
|
119
|
+
return _typography.fontWeight;
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
Object.defineProperty(exports, "ink", {
|
|
123
|
+
enumerable: true,
|
|
124
|
+
get: function get() {
|
|
125
|
+
return _colors.ink;
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, "layout", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function get() {
|
|
131
|
+
return _density.layout;
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
Object.defineProperty(exports, "letterSpacing", {
|
|
135
|
+
enumerable: true,
|
|
136
|
+
get: function get() {
|
|
137
|
+
return _typography.letterSpacing;
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
Object.defineProperty(exports, "lineHeight", {
|
|
141
|
+
enumerable: true,
|
|
142
|
+
get: function get() {
|
|
143
|
+
return _typography.lineHeight;
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
Object.defineProperty(exports, "motion", {
|
|
147
|
+
enumerable: true,
|
|
148
|
+
get: function get() {
|
|
149
|
+
return _motion["default"];
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
Object.defineProperty(exports, "mq", {
|
|
153
|
+
enumerable: true,
|
|
154
|
+
get: function get() {
|
|
155
|
+
return _breakpoints.mq;
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
Object.defineProperty(exports, "ms", {
|
|
159
|
+
enumerable: true,
|
|
160
|
+
get: function get() {
|
|
161
|
+
return _motion.ms;
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
Object.defineProperty(exports, "muiShadows", {
|
|
165
|
+
enumerable: true,
|
|
166
|
+
get: function get() {
|
|
167
|
+
return _shadows.muiShadows;
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
Object.defineProperty(exports, "radius", {
|
|
171
|
+
enumerable: true,
|
|
172
|
+
get: function get() {
|
|
173
|
+
return _radius["default"];
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
Object.defineProperty(exports, "semantic", {
|
|
177
|
+
enumerable: true,
|
|
178
|
+
get: function get() {
|
|
179
|
+
return _colors.semantic;
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
Object.defineProperty(exports, "shadows", {
|
|
183
|
+
enumerable: true,
|
|
184
|
+
get: function get() {
|
|
185
|
+
return _shadows["default"];
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
Object.defineProperty(exports, "spacing", {
|
|
189
|
+
enumerable: true,
|
|
190
|
+
get: function get() {
|
|
191
|
+
return _spacing["default"];
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
Object.defineProperty(exports, "spacingBase", {
|
|
195
|
+
enumerable: true,
|
|
196
|
+
get: function get() {
|
|
197
|
+
return _spacing.spacingBase;
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
Object.defineProperty(exports, "state", {
|
|
201
|
+
enumerable: true,
|
|
202
|
+
get: function get() {
|
|
203
|
+
return _state["default"];
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
Object.defineProperty(exports, "status", {
|
|
207
|
+
enumerable: true,
|
|
208
|
+
get: function get() {
|
|
209
|
+
return _colors.status;
|
|
210
|
+
}
|
|
211
|
+
});
|
|
212
|
+
Object.defineProperty(exports, "statusPalette", {
|
|
213
|
+
enumerable: true,
|
|
214
|
+
get: function get() {
|
|
215
|
+
return _statusPalette["default"];
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
Object.defineProperty(exports, "statusToken", {
|
|
219
|
+
enumerable: true,
|
|
220
|
+
get: function get() {
|
|
221
|
+
return _statusPalette.statusToken;
|
|
222
|
+
}
|
|
223
|
+
});
|
|
224
|
+
Object.defineProperty(exports, "surface", {
|
|
225
|
+
enumerable: true,
|
|
226
|
+
get: function get() {
|
|
227
|
+
return _colors.surface;
|
|
228
|
+
}
|
|
229
|
+
});
|
|
230
|
+
Object.defineProperty(exports, "transition", {
|
|
231
|
+
enumerable: true,
|
|
232
|
+
get: function get() {
|
|
233
|
+
return _motion.transition;
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
Object.defineProperty(exports, "typography", {
|
|
237
|
+
enumerable: true,
|
|
238
|
+
get: function get() {
|
|
239
|
+
return _typography["default"];
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
Object.defineProperty(exports, "variants", {
|
|
243
|
+
enumerable: true,
|
|
244
|
+
get: function get() {
|
|
245
|
+
return _typography.variants;
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
Object.defineProperty(exports, "zIndex", {
|
|
249
|
+
enumerable: true,
|
|
250
|
+
get: function get() {
|
|
251
|
+
return _zIndex["default"];
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
var _colors = _interopRequireWildcard(require("./colors"));
|
|
255
|
+
var _typography = _interopRequireWildcard(require("./typography"));
|
|
256
|
+
var _spacing = _interopRequireWildcard(require("./spacing"));
|
|
257
|
+
var _radius = _interopRequireDefault(require("./radius"));
|
|
258
|
+
var _shadows = _interopRequireWildcard(require("./shadows"));
|
|
259
|
+
var _motion = _interopRequireWildcard(require("./motion"));
|
|
260
|
+
var _zIndex = _interopRequireDefault(require("./zIndex"));
|
|
261
|
+
var _density = _interopRequireWildcard(require("./density"));
|
|
262
|
+
var _breakpoints = require("./breakpoints");
|
|
263
|
+
var _statusPalette = _interopRequireWildcard(require("./statusPalette"));
|
|
264
|
+
var _state = _interopRequireDefault(require("./state"));
|
|
265
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
266
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
267
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
268
|
+
/**
|
|
269
|
+
* Tokens barrel — single import surface for the whole library.
|
|
270
|
+
*
|
|
271
|
+
* import tokens from "@portnet/ui/v2/tokens";
|
|
272
|
+
* import { brand, brandSecondary, status, spacing, transition, state } from "@portnet/ui/v2/tokens";
|
|
273
|
+
*/
|
|
274
|
+
|
|
275
|
+
// `dl` deprecated alias removed in 0.3.0 — see CHANGELOG. Use `densityLayout`.
|
|
276
|
+
|
|
277
|
+
var tokens = Object.freeze({
|
|
278
|
+
colors: _colors["default"],
|
|
279
|
+
brand: _colors.brand,
|
|
280
|
+
brandSecondary: _colors.brandSecondary,
|
|
281
|
+
ink: _colors.ink,
|
|
282
|
+
surface: _colors.surface,
|
|
283
|
+
border: _colors.border,
|
|
284
|
+
semantic: _colors.semantic,
|
|
285
|
+
status: _colors.status,
|
|
286
|
+
focus: _colors.focus,
|
|
287
|
+
dark: _colors.dark,
|
|
288
|
+
typography: _typography["default"],
|
|
289
|
+
fontFamily: _typography.fontFamily,
|
|
290
|
+
fontSize: _typography.fontSize,
|
|
291
|
+
fontWeight: _typography.fontWeight,
|
|
292
|
+
lineHeight: _typography.lineHeight,
|
|
293
|
+
letterSpacing: _typography.letterSpacing,
|
|
294
|
+
variants: _typography.variants,
|
|
295
|
+
spacing: _spacing["default"],
|
|
296
|
+
spacingBase: _spacing.spacingBase,
|
|
297
|
+
radius: _radius["default"],
|
|
298
|
+
shadows: _shadows["default"],
|
|
299
|
+
muiShadows: _shadows.muiShadows,
|
|
300
|
+
motion: _motion["default"],
|
|
301
|
+
duration: _motion.duration,
|
|
302
|
+
durationCss: _motion.durationCss,
|
|
303
|
+
easing: _motion.easing,
|
|
304
|
+
zIndex: _zIndex["default"],
|
|
305
|
+
density: _density.density,
|
|
306
|
+
layout: _density.layout,
|
|
307
|
+
breakpoints: _density.breakpoints,
|
|
308
|
+
mq: _breakpoints.mq,
|
|
309
|
+
statusPalette: _statusPalette["default"],
|
|
310
|
+
state: _state["default"]
|
|
311
|
+
});
|
|
312
|
+
var _default = exports["default"] = tokens;
|
|
313
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["_colors","_interopRequireWildcard","require","_typography","_spacing","_radius","_interopRequireDefault","_shadows","_motion","_zIndex","_density","_breakpoints","_statusPalette","_state","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","tokens","freeze","colors","brand","brandSecondary","ink","surface","border","semantic","status","focus","dark","typography","fontFamily","fontSize","fontWeight","lineHeight","letterSpacing","variants","spacing","spacingBase","radius","shadows","muiShadows","motion","duration","durationCss","easing","zIndex","density","layout","breakpoints","mq","statusPalette","state","_default","exports"],"sources":["../../../src/lib/v2/tokens/index.ts"],"sourcesContent":["/**\r\n * Tokens barrel — single import surface for the whole library.\r\n *\r\n * import tokens from \"@portnet/ui/v2/tokens\";\r\n * import { brand, brandSecondary, status, spacing, transition, state } from \"@portnet/ui/v2/tokens\";\r\n */\r\nimport colors, {\r\n brand, brandSecondary, ink, surface, border, semantic, status, focus, dark,\r\n} from \"./colors\";\r\nimport typography, {\r\n fontFamily, fontSize, fontWeight, lineHeight, letterSpacing, variants,\r\n} from \"./typography\";\r\nimport spacing, { spacingBase } from \"./spacing\";\r\nimport radius from \"./radius\";\r\nimport shadows, { muiShadows } from \"./shadows\";\r\nimport motion, {\r\n duration, durationCss, easing, ms, transition,\r\n} from \"./motion\";\r\nimport zIndex from \"./zIndex\";\r\nimport densityLayout, { density, layout, breakpoints } from \"./density\";\r\nimport { mq, bpValue, BREAKPOINT_KEYS } from \"./breakpoints\";\r\nimport statusPalette, {\r\n STATUS_KEYS, statusToken, STATUS_LABELS_FR,\r\n} from \"./statusPalette\";\r\nimport state from \"./state\";\r\n\r\nexport {\r\n // colors\r\n colors, brand, brandSecondary, ink, surface, border, semantic, status, focus, dark,\r\n // typography\r\n typography, fontFamily, fontSize, fontWeight, lineHeight, letterSpacing, variants,\r\n // spacing\r\n spacing, spacingBase,\r\n // radius\r\n radius,\r\n // shadows\r\n shadows, muiShadows,\r\n // motion\r\n motion, duration, durationCss, easing, ms, transition,\r\n // z-index\r\n zIndex,\r\n // density / layout\r\n densityLayout, density, layout, breakpoints,\r\n // responsive — breakpoint scale + media-query helpers (Batch 1)\r\n mq, bpValue, BREAKPOINT_KEYS,\r\n // status helpers\r\n statusPalette, STATUS_KEYS, statusToken, STATUS_LABELS_FR,\r\n // state overlays\r\n state,\r\n};\r\n\r\n// `dl` deprecated alias removed in 0.3.0 — see CHANGELOG. Use `densityLayout`.\r\n\r\nconst tokens = Object.freeze({\r\n colors, brand, brandSecondary, ink, surface, border, semantic, status, focus, dark,\r\n typography, fontFamily, fontSize, fontWeight, lineHeight, letterSpacing, variants,\r\n spacing, spacingBase,\r\n radius,\r\n shadows, muiShadows,\r\n motion, duration, durationCss, easing,\r\n zIndex,\r\n density, layout, breakpoints, mq,\r\n statusPalette,\r\n state,\r\n});\r\n\r\nexport default tokens;\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,IAAAA,OAAA,GAAAC,uBAAA,CAAAC,OAAA;AAGA,IAAAC,WAAA,GAAAF,uBAAA,CAAAC,OAAA;AAGA,IAAAE,QAAA,GAAAH,uBAAA,CAAAC,OAAA;AACA,IAAAG,OAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAN,uBAAA,CAAAC,OAAA;AACA,IAAAM,OAAA,GAAAP,uBAAA,CAAAC,OAAA;AAGA,IAAAO,OAAA,GAAAH,sBAAA,CAAAJ,OAAA;AACA,IAAAQ,QAAA,GAAAT,uBAAA,CAAAC,OAAA;AACA,IAAAS,YAAA,GAAAT,OAAA;AACA,IAAAU,cAAA,GAAAX,uBAAA,CAAAC,OAAA;AAGA,IAAAW,MAAA,GAAAP,sBAAA,CAAAJ,OAAA;AAA4B,SAAAI,uBAAAQ,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAhB,wBAAAa,GAAA,EAAAG,WAAA,SAAAA,WAAA,IAAAH,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,aAAAO,OAAA,CAAAP,GAAA,yBAAAA,GAAA,uCAAAA,GAAA,UAAAQ,KAAA,GAAAN,wBAAA,CAAAC,WAAA,OAAAK,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAT,GAAA,YAAAQ,KAAA,CAAAE,GAAA,CAAAV,GAAA,SAAAW,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAhB,GAAA,QAAAgB,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAnB,GAAA,EAAAgB,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAf,GAAA,EAAAgB,GAAA,cAAAI,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,MAAA,CAAAC,cAAA,CAAAH,MAAA,EAAAK,GAAA,EAAAI,IAAA,YAAAT,MAAA,CAAAK,GAAA,IAAAhB,GAAA,CAAAgB,GAAA,SAAAL,MAAA,cAAAX,GAAA,MAAAQ,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAArB,GAAA,EAAAW,MAAA,YAAAA,MAAA;AAxB5B;AACA;AACA;AACA;AACA;AACA;;AA8CA;;AAEA,IAAMW,MAAM,GAAGT,MAAM,CAACU,MAAM,CAAC;EAC3BC,MAAM,EAANA,kBAAM;EAAEC,KAAK,EAALA,aAAK;EAAEC,cAAc,EAAdA,sBAAc;EAAEC,GAAG,EAAHA,WAAG;EAAEC,OAAO,EAAPA,eAAO;EAAEC,MAAM,EAANA,cAAM;EAAEC,QAAQ,EAARA,gBAAQ;EAAEC,MAAM,EAANA,cAAM;EAAEC,KAAK,EAALA,aAAK;EAAEC,IAAI,EAAJA,YAAI;EAClFC,UAAU,EAAVA,sBAAU;EAAEC,UAAU,EAAVA,sBAAU;EAAEC,QAAQ,EAARA,oBAAQ;EAAEC,UAAU,EAAVA,sBAAU;EAAEC,UAAU,EAAVA,sBAAU;EAAEC,aAAa,EAAbA,yBAAa;EAAEC,QAAQ,EAARA,oBAAQ;EACjFC,OAAO,EAAPA,mBAAO;EAAEC,WAAW,EAAXA,oBAAW;EACpBC,MAAM,EAANA,kBAAM;EACNC,OAAO,EAAPA,mBAAO;EAAEC,UAAU,EAAVA,mBAAU;EACnBC,MAAM,EAANA,kBAAM;EAAEC,QAAQ,EAARA,gBAAQ;EAAEC,WAAW,EAAXA,mBAAW;EAAEC,MAAM,EAANA,cAAM;EACrCC,MAAM,EAANA,kBAAM;EACNC,OAAO,EAAPA,gBAAO;EAAEC,MAAM,EAANA,eAAM;EAAEC,WAAW,EAAXA,oBAAW;EAAEC,EAAE,EAAFA,eAAE;EAChCC,aAAa,EAAbA,yBAAa;EACbC,KAAK,EAALA;AACF,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEYpC,MAAM","ignoreList":[]}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Motion tokens — Portnet UI v2
|
|
3
|
+
* Aligned with Design System v1.0 §02.7 + §08.
|
|
4
|
+
*
|
|
5
|
+
* R-Mi.1 — Any duration > 200 ms must be justified.
|
|
6
|
+
* R-Mi.2 — No decorative looping animations (RGESN R-9.2).
|
|
7
|
+
* R-Mi.3 — Animate transform + opacity only (GPU).
|
|
8
|
+
* R-7.5 — `prefers-reduced-motion` respected (≤ 0.01 ms).
|
|
9
|
+
*
|
|
10
|
+
* Durations ship in two forms:
|
|
11
|
+
* - `duration.<key>` integer milliseconds (for JS / MUI theme).
|
|
12
|
+
* - `durationCss.<key>` CSS string with `ms` unit (for sx / raw CSS).
|
|
13
|
+
* Use `transition(prop, durKey, easeKey)` for the safest path.
|
|
14
|
+
*
|
|
15
|
+
* Each duration has TWO names:
|
|
16
|
+
* 1. Temporal (fast / base / slow) — original Batch 1 vocabulary,
|
|
17
|
+
* kept for back-compat with all existing consumers.
|
|
18
|
+
* 2. Semantic (microinteraction / stateChange / pageTransition) —
|
|
19
|
+
* added in Batch 11 (B6) to make component sx more intent-readable.
|
|
20
|
+
* Maps onto the SAME numeric values; pick whichever reads better
|
|
21
|
+
* at the call site.
|
|
22
|
+
*/
|
|
23
|
+
export declare const duration: {
|
|
24
|
+
fast: number;
|
|
25
|
+
base: number;
|
|
26
|
+
slow: number;
|
|
27
|
+
microinteraction: number;
|
|
28
|
+
stateChange: number;
|
|
29
|
+
pageTransition: number;
|
|
30
|
+
};
|
|
31
|
+
export declare const durationCss: {
|
|
32
|
+
fast: string;
|
|
33
|
+
base: string;
|
|
34
|
+
slow: string;
|
|
35
|
+
microinteraction: string;
|
|
36
|
+
stateChange: string;
|
|
37
|
+
pageTransition: string;
|
|
38
|
+
};
|
|
39
|
+
export declare const easing: {
|
|
40
|
+
out: string;
|
|
41
|
+
in: string;
|
|
42
|
+
soft: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* `ms(80)` → `"80ms"`. Use when composing custom transitions.
|
|
46
|
+
*/
|
|
47
|
+
export declare const ms: (n: number | string) => string;
|
|
48
|
+
/**
|
|
49
|
+
* Compose a CSS `transition` shorthand safely.
|
|
50
|
+
*
|
|
51
|
+
* transition("opacity") → "opacity 180ms cubic-bezier(...)"
|
|
52
|
+
* transition("transform", "fast", "in") → "transform 80ms cubic-bezier(...)"
|
|
53
|
+
* transition("opacity", "stateChange") → "opacity 180ms cubic-bezier(...)"
|
|
54
|
+
*
|
|
55
|
+
* Both temporal ("fast") and semantic ("microinteraction") keys
|
|
56
|
+
* resolve through the same durationCss object.
|
|
57
|
+
*/
|
|
58
|
+
export declare const transition: (prop?: string, durationKey?: keyof typeof durationCss, easingKey?: keyof typeof easing) => string;
|
|
59
|
+
declare const motion: {
|
|
60
|
+
duration: {
|
|
61
|
+
fast: number;
|
|
62
|
+
base: number;
|
|
63
|
+
slow: number;
|
|
64
|
+
microinteraction: number;
|
|
65
|
+
stateChange: number;
|
|
66
|
+
pageTransition: number;
|
|
67
|
+
};
|
|
68
|
+
durationCss: {
|
|
69
|
+
fast: string;
|
|
70
|
+
base: string;
|
|
71
|
+
slow: string;
|
|
72
|
+
microinteraction: string;
|
|
73
|
+
stateChange: string;
|
|
74
|
+
pageTransition: string;
|
|
75
|
+
};
|
|
76
|
+
easing: {
|
|
77
|
+
out: string;
|
|
78
|
+
in: string;
|
|
79
|
+
soft: string;
|
|
80
|
+
};
|
|
81
|
+
ms: (n: number | string) => string;
|
|
82
|
+
transition: (prop?: string, durationKey?: keyof typeof durationCss, easingKey?: keyof typeof easing) => string;
|
|
83
|
+
};
|
|
84
|
+
export default motion;
|
|
85
|
+
//# sourceMappingURL=motion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../../src/lib/v2/tokens/motion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,eAAO,MAAM,QAAQ;;;;;;;CAUpB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;CAUvB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;CAIlB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,EAAE,GAAI,GAAG,MAAM,GAAG,MAAM,KAAG,MAA+B,CAAC;AAExE;;;;;;;;;GASG;AACH,eAAO,MAAM,UAAU,GACrB,OAAM,MAAc,EACpB,cAAa,MAAM,OAAO,WAAoB,EAC9C,YAAW,MAAM,OAAO,MAAc,KACrC,MAC2F,CAAC;AAE/F,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;YAnBU,MAAM,GAAG,MAAM,KAAG,MAAM;wBAatC,MAAM,gBACC,MAAM,OAAO,WAAW,cAC1B,MAAM,OAAO,MAAM,KAC7B,MAAM;CAGuD,CAAC;AACjE,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.transition = exports.ms = exports.easing = exports.durationCss = exports.duration = exports["default"] = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* Motion tokens — Portnet UI v2
|
|
9
|
+
* Aligned with Design System v1.0 §02.7 + §08.
|
|
10
|
+
*
|
|
11
|
+
* R-Mi.1 — Any duration > 200 ms must be justified.
|
|
12
|
+
* R-Mi.2 — No decorative looping animations (RGESN R-9.2).
|
|
13
|
+
* R-Mi.3 — Animate transform + opacity only (GPU).
|
|
14
|
+
* R-7.5 — `prefers-reduced-motion` respected (≤ 0.01 ms).
|
|
15
|
+
*
|
|
16
|
+
* Durations ship in two forms:
|
|
17
|
+
* - `duration.<key>` integer milliseconds (for JS / MUI theme).
|
|
18
|
+
* - `durationCss.<key>` CSS string with `ms` unit (for sx / raw CSS).
|
|
19
|
+
* Use `transition(prop, durKey, easeKey)` for the safest path.
|
|
20
|
+
*
|
|
21
|
+
* Each duration has TWO names:
|
|
22
|
+
* 1. Temporal (fast / base / slow) — original Batch 1 vocabulary,
|
|
23
|
+
* kept for back-compat with all existing consumers.
|
|
24
|
+
* 2. Semantic (microinteraction / stateChange / pageTransition) —
|
|
25
|
+
* added in Batch 11 (B6) to make component sx more intent-readable.
|
|
26
|
+
* Maps onto the SAME numeric values; pick whichever reads better
|
|
27
|
+
* at the call site.
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
var duration = exports.duration = {
|
|
31
|
+
// Temporal vocabulary
|
|
32
|
+
fast: 80,
|
|
33
|
+
// hover, focus
|
|
34
|
+
base: 180,
|
|
35
|
+
// modal open, drawer slide, toast spawn
|
|
36
|
+
slow: 280,
|
|
37
|
+
// optional — justify any usage
|
|
38
|
+
|
|
39
|
+
// Semantic aliases (B6) — same values, intent-readable names
|
|
40
|
+
microinteraction: 80,
|
|
41
|
+
// hover, focus, button press
|
|
42
|
+
stateChange: 180,
|
|
43
|
+
// modal/drawer/toast in/out
|
|
44
|
+
pageTransition: 280 // route change, view enter
|
|
45
|
+
};
|
|
46
|
+
var durationCss = exports.durationCss = {
|
|
47
|
+
// Temporal
|
|
48
|
+
fast: "80ms",
|
|
49
|
+
base: "180ms",
|
|
50
|
+
slow: "280ms",
|
|
51
|
+
// Semantic aliases
|
|
52
|
+
microinteraction: "80ms",
|
|
53
|
+
stateChange: "180ms",
|
|
54
|
+
pageTransition: "280ms"
|
|
55
|
+
};
|
|
56
|
+
var easing = exports.easing = {
|
|
57
|
+
out: "cubic-bezier(0.2, 0.8, 0.2, 1)",
|
|
58
|
+
"in": "cubic-bezier(0.4, 0, 1, 1)",
|
|
59
|
+
soft: "cubic-bezier(0.16, 1, 0.3, 1)"
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* `ms(80)` → `"80ms"`. Use when composing custom transitions.
|
|
64
|
+
*/
|
|
65
|
+
var ms = exports.ms = function ms(n) {
|
|
66
|
+
return "".concat(Number(n) || 0, "ms");
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Compose a CSS `transition` shorthand safely.
|
|
71
|
+
*
|
|
72
|
+
* transition("opacity") → "opacity 180ms cubic-bezier(...)"
|
|
73
|
+
* transition("transform", "fast", "in") → "transform 80ms cubic-bezier(...)"
|
|
74
|
+
* transition("opacity", "stateChange") → "opacity 180ms cubic-bezier(...)"
|
|
75
|
+
*
|
|
76
|
+
* Both temporal ("fast") and semantic ("microinteraction") keys
|
|
77
|
+
* resolve through the same durationCss object.
|
|
78
|
+
*/
|
|
79
|
+
var transition = exports.transition = function transition() {
|
|
80
|
+
var _durationCss$duration, _easing$easingKey;
|
|
81
|
+
var prop = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "all";
|
|
82
|
+
var durationKey = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "base";
|
|
83
|
+
var easingKey = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "out";
|
|
84
|
+
return "".concat(prop, " ").concat((_durationCss$duration = durationCss[durationKey]) !== null && _durationCss$duration !== void 0 ? _durationCss$duration : durationCss.base, " ").concat((_easing$easingKey = easing[easingKey]) !== null && _easing$easingKey !== void 0 ? _easing$easingKey : easing.out);
|
|
85
|
+
};
|
|
86
|
+
var motion = {
|
|
87
|
+
duration: duration,
|
|
88
|
+
durationCss: durationCss,
|
|
89
|
+
easing: easing,
|
|
90
|
+
ms: ms,
|
|
91
|
+
transition: transition
|
|
92
|
+
};
|
|
93
|
+
var _default = exports["default"] = motion;
|
|
94
|
+
//# sourceMappingURL=motion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"motion.js","names":["duration","exports","fast","base","slow","microinteraction","stateChange","pageTransition","durationCss","easing","out","soft","ms","n","concat","Number","transition","_durationCss$duration","_easing$easingKey","prop","arguments","length","undefined","durationKey","easingKey","motion","_default"],"sources":["../../../src/lib/v2/tokens/motion.ts"],"sourcesContent":["/**\r\n * Motion tokens — Portnet UI v2\r\n * Aligned with Design System v1.0 §02.7 + §08.\r\n *\r\n * R-Mi.1 — Any duration > 200 ms must be justified.\r\n * R-Mi.2 — No decorative looping animations (RGESN R-9.2).\r\n * R-Mi.3 — Animate transform + opacity only (GPU).\r\n * R-7.5 — `prefers-reduced-motion` respected (≤ 0.01 ms).\r\n *\r\n * Durations ship in two forms:\r\n * - `duration.<key>` integer milliseconds (for JS / MUI theme).\r\n * - `durationCss.<key>` CSS string with `ms` unit (for sx / raw CSS).\r\n * Use `transition(prop, durKey, easeKey)` for the safest path.\r\n *\r\n * Each duration has TWO names:\r\n * 1. Temporal (fast / base / slow) — original Batch 1 vocabulary,\r\n * kept for back-compat with all existing consumers.\r\n * 2. Semantic (microinteraction / stateChange / pageTransition) —\r\n * added in Batch 11 (B6) to make component sx more intent-readable.\r\n * Maps onto the SAME numeric values; pick whichever reads better\r\n * at the call site.\r\n */\r\n\r\nexport const duration = {\r\n // Temporal vocabulary\r\n fast: 80, // hover, focus\r\n base: 180, // modal open, drawer slide, toast spawn\r\n slow: 280, // optional — justify any usage\r\n\r\n // Semantic aliases (B6) — same values, intent-readable names\r\n microinteraction: 80, // hover, focus, button press\r\n stateChange: 180, // modal/drawer/toast in/out\r\n pageTransition: 280, // route change, view enter\r\n};\r\n\r\nexport const durationCss = {\r\n // Temporal\r\n fast: \"80ms\",\r\n base: \"180ms\",\r\n slow: \"280ms\",\r\n\r\n // Semantic aliases\r\n microinteraction: \"80ms\",\r\n stateChange: \"180ms\",\r\n pageTransition: \"280ms\",\r\n};\r\n\r\nexport const easing = {\r\n out: \"cubic-bezier(0.2, 0.8, 0.2, 1)\",\r\n in: \"cubic-bezier(0.4, 0, 1, 1)\",\r\n soft: \"cubic-bezier(0.16, 1, 0.3, 1)\",\r\n};\r\n\r\n/**\r\n * `ms(80)` → `\"80ms\"`. Use when composing custom transitions.\r\n */\r\nexport const ms = (n: number | string): string => `${Number(n) || 0}ms`;\r\n\r\n/**\r\n * Compose a CSS `transition` shorthand safely.\r\n *\r\n * transition(\"opacity\") → \"opacity 180ms cubic-bezier(...)\"\r\n * transition(\"transform\", \"fast\", \"in\") → \"transform 80ms cubic-bezier(...)\"\r\n * transition(\"opacity\", \"stateChange\") → \"opacity 180ms cubic-bezier(...)\"\r\n *\r\n * Both temporal (\"fast\") and semantic (\"microinteraction\") keys\r\n * resolve through the same durationCss object.\r\n */\r\nexport const transition = (\r\n prop: string = \"all\",\r\n durationKey: keyof typeof durationCss = \"base\",\r\n easingKey: keyof typeof easing = \"out\"\r\n): string =>\r\n `${prop} ${durationCss[durationKey] ?? durationCss.base} ${easing[easingKey] ?? easing.out}`;\r\n\r\nconst motion = { duration, durationCss, easing, ms, transition };\r\nexport default motion;\r\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEO,IAAMA,QAAQ,GAAAC,OAAA,CAAAD,QAAA,GAAG;EACtB;EACAE,IAAI,EAAE,EAAE;EAAI;EACZC,IAAI,EAAE,GAAG;EAAG;EACZC,IAAI,EAAE,GAAG;EAAG;;EAEZ;EACAC,gBAAgB,EAAE,EAAE;EAAI;EACxBC,WAAW,EAAO,GAAG;EAAG;EACxBC,cAAc,EAAI,GAAG,CAAG;AAC1B,CAAC;AAEM,IAAMC,WAAW,GAAAP,OAAA,CAAAO,WAAA,GAAG;EACzB;EACAN,IAAI,EAAE,MAAM;EACZC,IAAI,EAAE,OAAO;EACbC,IAAI,EAAE,OAAO;EAEb;EACAC,gBAAgB,EAAE,MAAM;EACxBC,WAAW,EAAO,OAAO;EACzBC,cAAc,EAAI;AACpB,CAAC;AAEM,IAAME,MAAM,GAAAR,OAAA,CAAAQ,MAAA,GAAG;EACpBC,GAAG,EAAG,gCAAgC;EACtC,MAAM,4BAA4B;EAClCC,IAAI,EAAE;AACR,CAAC;;AAED;AACA;AACA;AACO,IAAMC,EAAE,GAAAX,OAAA,CAAAW,EAAA,GAAG,SAALA,EAAEA,CAAIC,CAAkB;EAAA,UAAAC,MAAA,CAAgBC,MAAM,CAACF,CAAC,CAAC,IAAI,CAAC;AAAA,CAAI;;AAEvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,IAAMG,UAAU,GAAAf,OAAA,CAAAe,UAAA,GAAG,SAAbA,UAAUA,CAAA;EAAA,IAAAC,qBAAA,EAAAC,iBAAA;EAAA,IACrBC,IAAY,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,KAAK;EAAA,IACpBG,WAAqC,GAAAH,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,MAAM;EAAA,IAC9CI,SAA8B,GAAAJ,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,KAAK;EAAA,UAAAN,MAAA,CAEnCK,IAAI,OAAAL,MAAA,EAAAG,qBAAA,GAAIT,WAAW,CAACe,WAAW,CAAC,cAAAN,qBAAA,cAAAA,qBAAA,GAAIT,WAAW,CAACL,IAAI,OAAAW,MAAA,EAAAI,iBAAA,GAAIT,MAAM,CAACe,SAAS,CAAC,cAAAN,iBAAA,cAAAA,iBAAA,GAAIT,MAAM,CAACC,GAAG;AAAA,CAAE;AAE9F,IAAMe,MAAM,GAAG;EAAEzB,QAAQ,EAARA,QAAQ;EAAEQ,WAAW,EAAXA,WAAW;EAAEC,MAAM,EAANA,MAAM;EAAEG,EAAE,EAAFA,EAAE;EAAEI,UAAU,EAAVA;AAAW,CAAC;AAAC,IAAAU,QAAA,GAAAzB,OAAA,cAClDwB,MAAM","ignoreList":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Border-radius tokens — Portnet UI v2
|
|
3
|
+
* Aligned with Design System v1.0 §02.4.
|
|
4
|
+
*
|
|
5
|
+
* Values are integers (pixels). For perfect circles / pills on
|
|
6
|
+
* square containers, use `full` (9999) which collapses correctly
|
|
7
|
+
* regardless of container size.
|
|
8
|
+
*/
|
|
9
|
+
export declare const radius: {
|
|
10
|
+
none: number;
|
|
11
|
+
sm: number;
|
|
12
|
+
md: number;
|
|
13
|
+
lg: number;
|
|
14
|
+
xl: number;
|
|
15
|
+
full: number;
|
|
16
|
+
};
|
|
17
|
+
export default radius;
|
|
18
|
+
//# sourceMappingURL=radius.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radius.d.ts","sourceRoot":"","sources":["../../../src/lib/v2/tokens/radius.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM;;;;;;;CAOlB,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.radius = exports["default"] = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* Border-radius tokens — Portnet UI v2
|
|
9
|
+
* Aligned with Design System v1.0 §02.4.
|
|
10
|
+
*
|
|
11
|
+
* Values are integers (pixels). For perfect circles / pills on
|
|
12
|
+
* square containers, use `full` (9999) which collapses correctly
|
|
13
|
+
* regardless of container size.
|
|
14
|
+
*/
|
|
15
|
+
var radius = exports.radius = {
|
|
16
|
+
none: 0,
|
|
17
|
+
sm: 6,
|
|
18
|
+
// chips, badges, sort indicators
|
|
19
|
+
md: 8,
|
|
20
|
+
// buttons, inputs (default)
|
|
21
|
+
lg: 12,
|
|
22
|
+
// cards, datagrid
|
|
23
|
+
xl: 16,
|
|
24
|
+
// large modals
|
|
25
|
+
full: 9999 // pills, status chips, avatars
|
|
26
|
+
};
|
|
27
|
+
var _default = exports["default"] = radius;
|
|
28
|
+
//# sourceMappingURL=radius.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radius.js","names":["radius","exports","none","sm","md","lg","xl","full","_default"],"sources":["../../../src/lib/v2/tokens/radius.ts"],"sourcesContent":["/**\r\n * Border-radius tokens — Portnet UI v2\r\n * Aligned with Design System v1.0 §02.4.\r\n *\r\n * Values are integers (pixels). For perfect circles / pills on\r\n * square containers, use `full` (9999) which collapses correctly\r\n * regardless of container size.\r\n */\r\nexport const radius = {\r\n none: 0,\r\n sm: 6, // chips, badges, sort indicators\r\n md: 8, // buttons, inputs (default)\r\n lg: 12, // cards, datagrid\r\n xl: 16, // large modals\r\n full: 9999, // pills, status chips, avatars\r\n};\r\n\r\nexport default radius;\r\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,IAAMA,MAAM,GAAAC,OAAA,CAAAD,MAAA,GAAG;EACpBE,IAAI,EAAE,CAAC;EACPC,EAAE,EAAI,CAAC;EAAK;EACZC,EAAE,EAAI,CAAC;EAAK;EACZC,EAAE,EAAI,EAAE;EAAI;EACZC,EAAE,EAAI,EAAE;EAAI;EACZC,IAAI,EAAE,IAAI,CAAE;AACd,CAAC;AAAC,IAAAC,QAAA,GAAAP,OAAA,cAEaD,MAAM","ignoreList":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shadow / elevation tokens — Portnet UI v2
|
|
3
|
+
* Aligned with Design System v1.0 §02.5.
|
|
4
|
+
*
|
|
5
|
+
* All shadows are CSS strings — directly assignable to `boxShadow`
|
|
6
|
+
* in `sx`, `style`, or CSS custom properties.
|
|
7
|
+
*
|
|
8
|
+
* `focus` ships TWO variants:
|
|
9
|
+
* - `focus` uses `var(--accent)`, the runtime-themable
|
|
10
|
+
* custom property set by `<PortnetThemeProvider>`.
|
|
11
|
+
* - `focusFallback` is a static rgba string for contexts where
|
|
12
|
+
* CSS custom properties aren't resolvable
|
|
13
|
+
* (server-rendered emails, raw inline style, etc.).
|
|
14
|
+
*/
|
|
15
|
+
export declare const shadows: {
|
|
16
|
+
xs: string;
|
|
17
|
+
sm: string;
|
|
18
|
+
md: string;
|
|
19
|
+
lg: string;
|
|
20
|
+
focus: string;
|
|
21
|
+
focusFallback: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const muiShadows: string[];
|
|
24
|
+
export default shadows;
|
|
25
|
+
//# sourceMappingURL=shadows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadows.d.ts","sourceRoot":"","sources":["../../../src/lib/v2/tokens/shadows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,OAAO;;;;;;;CAOnB,CAAC;AAiBF,eAAO,MAAM,UAAU,UAMtB,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.shadows = exports.muiShadows = exports["default"] = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* Shadow / elevation tokens — Portnet UI v2
|
|
9
|
+
* Aligned with Design System v1.0 §02.5.
|
|
10
|
+
*
|
|
11
|
+
* All shadows are CSS strings — directly assignable to `boxShadow`
|
|
12
|
+
* in `sx`, `style`, or CSS custom properties.
|
|
13
|
+
*
|
|
14
|
+
* `focus` ships TWO variants:
|
|
15
|
+
* - `focus` uses `var(--accent)`, the runtime-themable
|
|
16
|
+
* custom property set by `<PortnetThemeProvider>`.
|
|
17
|
+
* - `focusFallback` is a static rgba string for contexts where
|
|
18
|
+
* CSS custom properties aren't resolvable
|
|
19
|
+
* (server-rendered emails, raw inline style, etc.).
|
|
20
|
+
*/
|
|
21
|
+
var shadows = exports.shadows = {
|
|
22
|
+
xs: "0 1px 2px rgba(15,21,37,.04)",
|
|
23
|
+
sm: "0 1px 2px rgba(15,21,37,.04), 0 1px 3px rgba(15,21,37,.06)",
|
|
24
|
+
md: "0 2px 4px rgba(15,21,37,.04), 0 4px 12px rgba(15,21,37,.08)",
|
|
25
|
+
lg: "0 4px 8px rgba(15,21,37,.06), 0 12px 32px rgba(15,21,37,.12)",
|
|
26
|
+
focus: "0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent)",
|
|
27
|
+
focusFallback: "0 0 0 3px rgba(35, 47, 102, 0.22)"
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* 25-slot MUI shadows array. Index 0 must be "none".
|
|
32
|
+
* 1–4 → xs (subtle elevation: AppBar, switches)
|
|
33
|
+
* 5–8 → sm (cards, paper)
|
|
34
|
+
* 9–16 → md (menus, popovers, dropdowns)
|
|
35
|
+
* 17–24 → lg (modals, drawers)
|
|
36
|
+
*
|
|
37
|
+
* Padding is intentional — MUI components reference indices
|
|
38
|
+
* semantically; we provide one canonical level per band.
|
|
39
|
+
*/
|
|
40
|
+
var _xs = shadows.xs;
|
|
41
|
+
var _sm = shadows.sm;
|
|
42
|
+
var _md = shadows.md;
|
|
43
|
+
var _lg = shadows.lg;
|
|
44
|
+
var muiShadows = exports.muiShadows = ["none", _xs, _xs, _xs, _xs, _sm, _sm, _sm, _sm, _md, _md, _md, _md, _md, _md, _md, _md, _lg, _lg, _lg, _lg, _lg, _lg, _lg, _lg];
|
|
45
|
+
var _default = exports["default"] = shadows;
|
|
46
|
+
//# sourceMappingURL=shadows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadows.js","names":["shadows","exports","xs","sm","md","lg","focus","focusFallback","_xs","_sm","_md","_lg","muiShadows","_default"],"sources":["../../../src/lib/v2/tokens/shadows.ts"],"sourcesContent":["/**\r\n * Shadow / elevation tokens — Portnet UI v2\r\n * Aligned with Design System v1.0 §02.5.\r\n *\r\n * All shadows are CSS strings — directly assignable to `boxShadow`\r\n * in `sx`, `style`, or CSS custom properties.\r\n *\r\n * `focus` ships TWO variants:\r\n * - `focus` uses `var(--accent)`, the runtime-themable\r\n * custom property set by `<PortnetThemeProvider>`.\r\n * - `focusFallback` is a static rgba string for contexts where\r\n * CSS custom properties aren't resolvable\r\n * (server-rendered emails, raw inline style, etc.).\r\n */\r\nexport const shadows = {\r\n xs: \"0 1px 2px rgba(15,21,37,.04)\",\r\n sm: \"0 1px 2px rgba(15,21,37,.04), 0 1px 3px rgba(15,21,37,.06)\",\r\n md: \"0 2px 4px rgba(15,21,37,.04), 0 4px 12px rgba(15,21,37,.08)\",\r\n lg: \"0 4px 8px rgba(15,21,37,.06), 0 12px 32px rgba(15,21,37,.12)\",\r\n focus: \"0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent)\",\r\n focusFallback: \"0 0 0 3px rgba(35, 47, 102, 0.22)\",\r\n};\r\n\r\n/**\r\n * 25-slot MUI shadows array. Index 0 must be \"none\".\r\n * 1–4 → xs (subtle elevation: AppBar, switches)\r\n * 5–8 → sm (cards, paper)\r\n * 9–16 → md (menus, popovers, dropdowns)\r\n * 17–24 → lg (modals, drawers)\r\n *\r\n * Padding is intentional — MUI components reference indices\r\n * semantically; we provide one canonical level per band.\r\n */\r\nconst _xs = shadows.xs;\r\nconst _sm = shadows.sm;\r\nconst _md = shadows.md;\r\nconst _lg = shadows.lg;\r\n\r\nexport const muiShadows = [\r\n \"none\",\r\n _xs, _xs, _xs, _xs,\r\n _sm, _sm, _sm, _sm,\r\n _md, _md, _md, _md, _md, _md, _md, _md,\r\n _lg, _lg, _lg, _lg, _lg, _lg, _lg, _lg,\r\n];\r\n\r\nexport default shadows;\r\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,IAAMA,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG;EACrBE,EAAE,EAAa,8BAA8B;EAC7CC,EAAE,EAAa,4DAA4D;EAC3EC,EAAE,EAAa,6DAA6D;EAC5EC,EAAE,EAAa,8DAA8D;EAC7EC,KAAK,EAAU,8DAA8D;EAC7EC,aAAa,EAAE;AACjB,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAMC,GAAG,GAAGR,OAAO,CAACE,EAAE;AACtB,IAAMO,GAAG,GAAGT,OAAO,CAACG,EAAE;AACtB,IAAMO,GAAG,GAAGV,OAAO,CAACI,EAAE;AACtB,IAAMO,GAAG,GAAGX,OAAO,CAACK,EAAE;AAEf,IAAMO,UAAU,GAAAX,OAAA,CAAAW,UAAA,GAAG,CACxB,MAAM,EACNJ,GAAG,EAAEA,GAAG,EAAEA,GAAG,EAAEA,GAAG,EAClBC,GAAG,EAAEA,GAAG,EAAEA,GAAG,EAAEA,GAAG,EAClBC,GAAG,EAAEA,GAAG,EAAEA,GAAG,EAAEA,GAAG,EAAEA,GAAG,EAAEA,GAAG,EAAEA,GAAG,EAAEA,GAAG,EACtCC,GAAG,EAAEA,GAAG,EAAEA,GAAG,EAAEA,GAAG,EAAEA,GAAG,EAAEA,GAAG,EAAEA,GAAG,EAAEA,GAAG,CACvC;AAAC,IAAAE,QAAA,GAAAZ,OAAA,cAEaD,OAAO","ignoreList":[]}
|