@daisforge/ui 1.12.1 → 1.13.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/chunks/AnalyticalWidget-29tSeB0C.cjs +43 -0
- package/chunks/AnalyticalWidget-DnHHyjnv.mjs +528 -0
- package/chunks/ApprovalCenter-BREfTiqK.mjs +176 -0
- package/chunks/ApprovalCenter-BRUYlLoC.cjs +1 -0
- package/chunks/BlockTitle-BNm60_dx.mjs +85 -0
- package/chunks/BlockTitle-CCvkcUe_.cjs +1 -0
- package/chunks/Container-CV4sT-bB.mjs +117 -0
- package/chunks/Container-D8Bcg69e.cjs +17 -0
- package/chunks/EmptyState-BD6Ic-OX.cjs +1 -0
- package/chunks/EmptyState-Bct6Wrxv.mjs +459 -0
- package/chunks/FiltersActions-49uNOjLq.cjs +1 -0
- package/chunks/FiltersActions-Be9uBM67.mjs +429 -0
- package/chunks/FormDatePickers-BefllAQ_.cjs +1 -0
- package/chunks/FormDatePickers-_soI8Uaa.mjs +503 -0
- package/chunks/FormSegmentGroup-C8kROjlQ.mjs +168 -0
- package/chunks/FormSegmentGroup-DIaBZRWv.cjs +1 -0
- package/chunks/FormTextArea-BBYV56iU.mjs +107 -0
- package/chunks/FormTextArea-C7KG9PXC.cjs +1 -0
- package/chunks/GridDND-BAHGzR5e.cjs +1 -0
- package/chunks/GridDND-rY1o5ItA.mjs +852 -0
- package/chunks/LeftPanel-CgexykUg.cjs +1 -0
- package/chunks/LeftPanel-bKmeEOHx.mjs +162 -0
- package/chunks/ListOfFilters-BQyYeGQG.cjs +1 -0
- package/chunks/ListOfFilters-DRrawM8s.mjs +260 -0
- package/chunks/MassActions-ByZr-Wjd.mjs +966 -0
- package/chunks/MassActions-CxF6wvlS.cjs +1 -0
- package/chunks/PageTitle-BLBN06Xe.mjs +123 -0
- package/chunks/PageTitle-j-pmmoZ9.cjs +1 -0
- package/chunks/SplitView-C8de8YKV.mjs +236 -0
- package/chunks/SplitView-OUGciQ51.cjs +12 -0
- package/chunks/Stories-CO4lXbo6.cjs +1 -0
- package/chunks/Stories-COpgkk_M.mjs +673 -0
- package/chunks/Table-JFzBB9zK.cjs +31 -0
- package/chunks/Table-XpsCe-vS.mjs +7757 -0
- package/chunks/TableCanvas-AwmzU0Jc.cjs +30 -0
- package/chunks/TableCanvas-BnwR-C1X.mjs +11870 -0
- package/chunks/TableGlide-BAH73oGi.cjs +1 -0
- package/chunks/{TableGlide-B61Yi-Hs.mjs → TableGlide-o9aqEk4d.mjs} +2263 -2342
- package/chunks/styles-Dd4uEa27.mjs +128 -0
- package/chunks/styles-kPI9R7DO.cjs +2 -0
- package/chunks/{utils-BNelzuI-.mjs → utils-C5SQhoON.mjs} +126 -151
- package/chunks/utils-DKi1rqLX.cjs +25 -0
- package/chunks/{vendor-D8Dozc4m.cjs → vendor-BauZZ2hr.mjs} +7 -33
- package/chunks/{vendor-BG4P-329.mjs → vendor-C47eH0xy.cjs} +2 -634
- package/components/AiAgentPopover/index.cjs +2 -2
- package/components/AiAgentPopover/index.mjs +248 -373
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/AnalyticalWidgetChipsGroup.styled.d.ts +7 -0
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.mjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.cjs +1 -1
- package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.mjs +1 -1
- package/components/AnalyticalWidget/index.cjs +1 -1
- package/components/AnalyticalWidget/index.mjs +1 -1
- package/components/ApprovalCenter/components/index.cjs +1 -1
- package/components/ApprovalCenter/components/index.mjs +1 -1
- package/components/ApprovalCenter/index.cjs +1 -1
- package/components/ApprovalCenter/index.mjs +1 -1
- package/components/Autocomplete/index.cjs +1 -1
- package/components/Autocomplete/index.mjs +22 -35
- package/components/AutocompleteSearch/index.cjs +1 -1
- package/components/AutocompleteSearch/index.mjs +33 -83
- package/components/BlockGradientScroll/index.cjs +1 -1
- package/components/BlockGradientScroll/index.mjs +41 -53
- package/components/BlockTitle/index.cjs +1 -1
- package/components/BlockTitle/index.mjs +1 -1
- package/components/BlockTitle/utils/index.cjs +1 -1
- package/components/BlockTitle/utils/index.mjs +1 -1
- package/components/Box/index.mjs +17 -7
- package/components/Collapse/index.cjs +1 -1
- package/components/Collapse/index.mjs +41 -62
- package/components/Combobox/index.cjs +1 -1
- package/components/Combobox/index.mjs +1 -1
- package/components/DatePicker/index.cjs +1 -1
- package/components/DatePicker/index.mjs +21 -59
- package/components/DrawerDF/index.cjs +1 -1
- package/components/DrawerDF/index.mjs +144 -391
- package/components/EmptyState/components/index.cjs +1 -1
- package/components/EmptyState/components/index.mjs +1 -1
- package/components/EmptyState/index.cjs +1 -1
- package/components/EmptyState/index.mjs +1 -1
- package/components/GridDND/index.cjs +1 -1
- package/components/GridDND/index.mjs +1 -1
- package/components/GridDND/utils/index.cjs +1 -1
- package/components/GridDND/utils/index.mjs +1 -1
- package/components/IconButton/index.cjs +1 -1
- package/components/IconButton/index.mjs +49 -112
- package/components/IconSvgSprite/index.cjs +1 -1
- package/components/IconSvgSprite/index.mjs +13 -49
- package/components/LeftPanel/components/index.cjs +1 -1
- package/components/LeftPanel/components/index.mjs +1 -1
- package/components/LeftPanel/hooks/index.cjs +1 -1
- package/components/LeftPanel/hooks/index.mjs +1 -1
- package/components/LeftPanel/index.cjs +1 -1
- package/components/LeftPanel/index.mjs +1 -1
- package/components/LeftPanel/utils/index.cjs +1 -1
- package/components/LeftPanel/utils/index.mjs +1 -1
- package/components/ListOfFilters/index.cjs +1 -1
- package/components/ListOfFilters/index.mjs +1 -1
- package/components/ListOfFilters/useSyncTabsScrollArrows.d.ts +3 -0
- package/components/MassActions/hooks/index.cjs +1 -1
- package/components/MassActions/hooks/index.mjs +1 -1
- package/components/MassActions/index.cjs +1 -1
- package/components/MassActions/index.mjs +1 -1
- package/components/MassActionsStatic/index.cjs +2 -2
- package/components/MassActionsStatic/index.mjs +13 -34
- package/components/ModalDF/index.cjs +1 -1
- package/components/ModalDF/index.mjs +169 -381
- package/components/ModalDFConfirmation/index.cjs +1 -1
- package/components/ModalDFConfirmation/index.mjs +66 -114
- package/components/Notification/index.cjs +1 -1
- package/components/Notification/index.mjs +16 -22
- package/components/NumberFormat/index.cjs +1 -1
- package/components/NumberFormat/index.mjs +24 -37
- package/components/NumberFormatAmount/index.cjs +1 -1
- package/components/NumberFormatAmount/index.mjs +12 -27
- package/components/PageTitle/index.cjs +1 -1
- package/components/PageTitle/index.mjs +1 -1
- package/components/PageTitle/utils/index.cjs +1 -1
- package/components/PageTitle/utils/index.mjs +1 -1
- package/components/PopoverDF/index.cjs +1 -1
- package/components/PopoverDF/index.mjs +125 -261
- package/components/PopupDF/index.cjs +1 -1
- package/components/PopupDF/index.mjs +141 -308
- package/components/SplitView/index.cjs +1 -1
- package/components/SplitView/index.mjs +1 -1
- package/components/SplitView/utils/index.cjs +1 -1
- package/components/SplitView/utils/index.mjs +1 -1
- package/components/Stories/Stories.types.d.ts +1 -0
- package/components/Stories/components/StoriesBanner/index.cjs +1 -1
- package/components/Stories/components/StoriesBanner/index.mjs +1 -1
- package/components/Stories/components/StoriesContent/index.cjs +1 -1
- package/components/Stories/components/StoriesContent/index.mjs +1 -1
- package/components/Stories/components/StoriesPreview/index.cjs +1 -1
- package/components/Stories/components/StoriesPreview/index.mjs +1 -1
- package/components/Stories/components/StoriesProgress/index.cjs +1 -1
- package/components/Stories/components/StoriesProgress/index.mjs +1 -1
- package/components/Stories/components/StoriesViewer/index.cjs +1 -1
- package/components/Stories/components/StoriesViewer/index.mjs +1 -1
- package/components/Stories/index.cjs +1 -1
- package/components/Stories/index.mjs +1 -1
- package/components/Stories/store/StoriesContext.d.ts +1 -0
- package/components/Table/components/TableDropdown/index.cjs +1 -1
- package/components/Table/components/TableDropdown/index.mjs +1 -1
- package/components/Table/feature-collapse-table/index.cjs +1 -1
- package/components/Table/feature-collapse-table/index.mjs +1 -1
- package/components/Table/feature-column-control/ColumnsList/index.cjs +1 -1
- package/components/Table/feature-column-control/ColumnsList/index.mjs +1 -1
- package/components/Table/feature-column-control/index.cjs +1 -1
- package/components/Table/feature-column-control/index.mjs +1 -1
- package/components/Table/feature-columns-grouping/index.cjs +1 -1
- package/components/Table/feature-columns-grouping/index.mjs +1 -1
- package/components/Table/feature-context-menu/index.cjs +1 -1
- package/components/Table/feature-context-menu/index.mjs +1 -1
- package/components/Table/feature-edit/index.cjs +1 -1
- package/components/Table/feature-edit/index.mjs +1 -1
- package/components/Table/feature-filtering/combobox/index.cjs +1 -1
- package/components/Table/feature-filtering/combobox/index.mjs +1 -1
- package/components/Table/feature-filtering/filter-list-block/index.cjs +1 -1
- package/components/Table/feature-filtering/filter-list-block/index.mjs +1 -1
- package/components/Table/feature-filtering/header-filter-button/index.cjs +1 -1
- package/components/Table/feature-filtering/header-filter-button/index.mjs +1 -1
- package/components/Table/feature-filtering/index.cjs +1 -1
- package/components/Table/feature-filtering/index.mjs +1 -1
- package/components/Table/feature-filtering/sidebar-filter-block/index.cjs +1 -1
- package/components/Table/feature-filtering/sidebar-filter-block/index.mjs +1 -1
- package/components/Table/feature-infinity-scroll/index.cjs +1 -1
- package/components/Table/feature-infinity-scroll/index.mjs +1 -1
- package/components/Table/feature-key-text/index.cjs +1 -1
- package/components/Table/feature-key-text/index.mjs +1 -1
- package/components/Table/feature-pagination/index.cjs +1 -1
- package/components/Table/feature-pagination/index.mjs +1 -1
- package/components/Table/feature-right-sidebar/index.cjs +1 -1
- package/components/Table/feature-right-sidebar/index.mjs +1 -1
- package/components/Table/feature-row-detail/index.cjs +1 -1
- package/components/Table/feature-row-detail/index.mjs +1 -1
- package/components/Table/feature-row-instruments/index.cjs +1 -1
- package/components/Table/feature-row-instruments/index.mjs +1 -1
- package/components/Table/feature-row-size/index.cjs +1 -1
- package/components/Table/feature-row-size/index.mjs +1 -1
- package/components/Table/feature-rows-grouping/index.cjs +1 -1
- package/components/Table/feature-rows-grouping/index.mjs +1 -1
- package/components/Table/feature-searching/index.cjs +1 -1
- package/components/Table/feature-searching/index.mjs +1 -1
- package/components/Table/feature-select-row/index.cjs +1 -1
- package/components/Table/feature-select-row/index.mjs +1 -1
- package/components/Table/feature-sorting/index.cjs +1 -1
- package/components/Table/feature-sorting/index.mjs +1 -1
- package/components/Table/feature-table-settings/index.cjs +1 -1
- package/components/Table/feature-table-settings/index.mjs +1 -1
- package/components/Table/feature-tree/index.cjs +1 -1
- package/components/Table/feature-tree/index.mjs +1 -1
- package/components/Table/index.cjs +1 -1
- package/components/Table/index.mjs +1 -1
- package/components/Table/renders/formatCell/index.cjs +1 -1
- package/components/Table/renders/formatCell/index.mjs +1 -1
- package/components/Table/styles/index.cjs +1 -1
- package/components/Table/styles/index.mjs +1 -1
- package/components/Table/table-hooks/index.cjs +1 -1
- package/components/Table/table-hooks/index.mjs +1 -1
- package/components/Table/types/index.cjs +1 -1
- package/components/Table/types/index.mjs +1 -1
- package/components/Table/utils/index.cjs +1 -1
- package/components/Table/utils/index.mjs +1 -1
- package/components/Table/widgets/control-block/index.cjs +1 -1
- package/components/Table/widgets/control-block/index.mjs +1 -1
- package/components/Table/widgets/control-block/right-side/index.cjs +1 -1
- package/components/Table/widgets/control-block/right-side/index.mjs +1 -1
- package/components/Table/widgets/index.cjs +1 -1
- package/components/Table/widgets/index.mjs +1 -1
- package/components/Table/widgets/mass-actions/index.cjs +1 -1
- package/components/Table/widgets/mass-actions/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/column/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/column/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/adapters/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/index.mjs +2 -2
- package/components/TableCanvas/TableGlideInstance/type.d.ts +2 -0
- package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/index.cjs +1 -1
- package/components/TableCanvas/TableGlideInstance/utils/index.mjs +1 -1
- package/components/TableCanvas/components/SplitIconButton/index.cjs +1 -1
- package/components/TableCanvas/components/SplitIconButton/index.mjs +1 -1
- package/components/TableCanvas/components/TableDropdown/index.cjs +1 -1
- package/components/TableCanvas/components/TableDropdown/index.mjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
- package/components/TableCanvas/feature-cell-transfer/index.mjs +1 -1
- package/components/TableCanvas/feature-collapse-table/index.cjs +1 -1
- package/components/TableCanvas/feature-collapse-table/index.mjs +1 -1
- package/components/TableCanvas/feature-column-control/ColumnsList/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/ColumnsList/index.mjs +1 -1
- package/components/TableCanvas/feature-column-control/index.cjs +1 -1
- package/components/TableCanvas/feature-column-control/index.mjs +1 -1
- package/components/TableCanvas/feature-columns-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-columns-grouping/index.mjs +1 -1
- package/components/TableCanvas/feature-columns-grouping/useLastLvlColumnConfig.d.ts +1 -0
- package/components/TableCanvas/feature-content-state/index.cjs +1 -1
- package/components/TableCanvas/feature-content-state/index.mjs +1 -1
- package/components/TableCanvas/feature-context-menu/index.cjs +1 -1
- package/components/TableCanvas/feature-context-menu/index.mjs +1 -1
- package/components/TableCanvas/feature-edit/index.cjs +1 -1
- package/components/TableCanvas/feature-edit/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/combobox/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/filter-list-block/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/filter-list-block/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/header-filter-button/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/index.mjs +1 -1
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.cjs +1 -1
- package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.mjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/index.cjs +1 -1
- package/components/TableCanvas/feature-infinity-scroll/index.mjs +1 -1
- package/components/TableCanvas/feature-key-text/index.cjs +1 -1
- package/components/TableCanvas/feature-key-text/index.mjs +1 -1
- package/components/TableCanvas/feature-notifications/index.cjs +1 -1
- package/components/TableCanvas/feature-notifications/index.mjs +1 -1
- package/components/TableCanvas/feature-pagination/index.cjs +1 -1
- package/components/TableCanvas/feature-pagination/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/context/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/context/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/hooks/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/hooks/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/index.mjs +1 -1
- package/components/TableCanvas/feature-popover-table/utils/index.cjs +1 -1
- package/components/TableCanvas/feature-popover-table/utils/index.mjs +1 -1
- package/components/TableCanvas/feature-right-sidebar/index.cjs +1 -1
- package/components/TableCanvas/feature-right-sidebar/index.mjs +1 -1
- package/components/TableCanvas/feature-row-detail/index.cjs +1 -1
- package/components/TableCanvas/feature-row-detail/index.mjs +1 -1
- package/components/TableCanvas/feature-row-instruments/index.cjs +1 -1
- package/components/TableCanvas/feature-row-instruments/index.mjs +1 -1
- package/components/TableCanvas/feature-row-markers/index.cjs +1 -1
- package/components/TableCanvas/feature-row-markers/index.mjs +1 -1
- package/components/TableCanvas/feature-row-size/index.cjs +1 -1
- package/components/TableCanvas/feature-row-size/index.mjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
- package/components/TableCanvas/feature-rows-grouping/index.mjs +1 -1
- package/components/TableCanvas/feature-searching/index.cjs +1 -1
- package/components/TableCanvas/feature-searching/index.mjs +1 -1
- package/components/TableCanvas/feature-select-row/index.cjs +1 -1
- package/components/TableCanvas/feature-select-row/index.mjs +1 -1
- package/components/TableCanvas/feature-sorting/index.cjs +1 -1
- package/components/TableCanvas/feature-sorting/index.mjs +1 -1
- package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
- package/components/TableCanvas/feature-table-settings/index.mjs +1 -1
- package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/index.mjs +1 -1
- package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
- package/components/TableCanvas/feature-tooltip/utils/index.mjs +1 -1
- package/components/TableCanvas/feature-tree/index.cjs +1 -1
- package/components/TableCanvas/feature-tree/index.mjs +1 -1
- package/components/TableCanvas/index.cjs +1 -1
- package/components/TableCanvas/index.mjs +2 -2
- package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
- package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
- package/components/TableCanvas/styles/index.cjs +1 -1
- package/components/TableCanvas/styles/index.mjs +1 -1
- package/components/TableCanvas/table-hooks/index.cjs +1 -1
- package/components/TableCanvas/table-hooks/index.mjs +1 -1
- package/components/TableCanvas/types/column-config.type.d.ts +3 -0
- package/components/TableCanvas/types/columns-grouping.type.d.ts +8 -0
- package/components/TableCanvas/types/index.cjs +1 -1
- package/components/TableCanvas/types/index.mjs +1 -1
- package/components/TableCanvas/types/table-config.type.d.ts +3 -0
- package/components/TableCanvas/utils/index.cjs +1 -1
- package/components/TableCanvas/utils/index.mjs +2 -2
- package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/compression/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/index.mjs +1 -1
- package/components/TableCanvas/widgets/control-block/right-side/index.cjs +1 -1
- package/components/TableCanvas/widgets/control-block/right-side/index.mjs +1 -1
- package/components/TableCanvas/widgets/index.cjs +1 -1
- package/components/TableCanvas/widgets/index.mjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
- package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
- package/components/TableContract/index.cjs +2 -2
- package/components/TableContract/index.mjs +540 -798
- package/components/TableGlide/TableGlide.d.ts +1 -1
- package/components/TableGlide/hooks/selection/index.cjs +1 -1
- package/components/TableGlide/hooks/selection/index.mjs +1 -1
- package/components/TableGlide/index.cjs +1 -1
- package/components/TableGlide/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/buttons/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/buttons/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/iconSprites/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/iconSprites/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/hooks/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/miniflex/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/miniflex/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/primitives/index.mjs +1 -1
- package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
- package/components/TableGlide/lib/canvas/utils/index.mjs +1 -1
- package/components/TableGlide/theming/index.cjs +1 -1
- package/components/TableGlide/theming/index.mjs +1 -1
- package/components/TableGlide/types.d.ts +3 -2
- package/components/TableTabs/index.cjs +1 -1
- package/components/TableTabs/index.mjs +136 -305
- package/components/TextArea/index.cjs +1 -1
- package/components/TextArea/index.mjs +26 -40
- package/components/TextField/index.cjs +1 -1
- package/components/TextField/index.mjs +38 -82
- package/components/Tooltip/index.cjs +1 -1
- package/components/Tooltip/index.mjs +1 -1
- package/components/TourWidget/index.cjs +15 -15
- package/components/TourWidget/index.mjs +176 -371
- package/components/Typography/index.cjs +1 -1
- package/components/Typography/index.mjs +1 -1
- package/components/Widget/index.cjs +1 -1
- package/components/Widget/index.mjs +151 -363
- package/formComponents/FormAutocomplete/index.cjs +1 -1
- package/formComponents/FormAutocomplete/index.mjs +63 -68
- package/formComponents/FormCheckbox/index.cjs +1 -1
- package/formComponents/FormCheckbox/index.mjs +27 -55
- package/formComponents/FormCombobox/index.cjs +1 -1
- package/formComponents/FormCombobox/index.mjs +61 -75
- package/formComponents/FormDatePickers/FormDatePicker/index.cjs +1 -1
- package/formComponents/FormDatePickers/FormDatePicker/index.mjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/index.cjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/index.mjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/index.cjs +1 -1
- package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/index.mjs +1 -1
- package/formComponents/FormDatePickers/index.cjs +1 -1
- package/formComponents/FormDatePickers/index.mjs +1 -1
- package/formComponents/FormMask/index.cjs +1 -1
- package/formComponents/FormMask/index.mjs +61 -66
- package/formComponents/FormNumberFormat/index.cjs +1 -1
- package/formComponents/FormNumberFormat/index.mjs +56 -68
- package/formComponents/FormRadioGroupBox/index.cjs +1 -1
- package/formComponents/FormRadioGroupBox/index.mjs +71 -144
- package/formComponents/FormSegments/index.cjs +1 -1
- package/formComponents/FormSegments/index.mjs +1 -1
- package/formComponents/FormSelect/index.cjs +1 -1
- package/formComponents/FormSelect/index.mjs +62 -76
- package/formComponents/FormSwitch/index.cjs +1 -1
- package/formComponents/FormSwitch/index.mjs +25 -53
- package/formComponents/FormTextArea/index.cjs +1 -1
- package/formComponents/FormTextArea/index.mjs +1 -1
- package/formComponents/FormTextArea/ui/index.cjs +1 -1
- package/formComponents/FormTextArea/ui/index.mjs +1 -1
- package/formComponents/FormTextField/index.cjs +1 -1
- package/formComponents/FormTextField/index.mjs +70 -101
- package/index.cjs +1 -1
- package/index.mjs +21 -21
- package/layouts/Container/index.cjs +1 -1
- package/layouts/Container/index.mjs +1 -1
- package/layouts/Container/lib/utils/index.cjs +1 -1
- package/layouts/Container/lib/utils/index.mjs +1 -1
- package/layouts/ErrorPage/index.cjs +1 -1
- package/layouts/ErrorPage/index.mjs +81 -146
- package/layouts/FiltersActions/hooks/index.cjs +1 -1
- package/layouts/FiltersActions/hooks/index.mjs +1 -1
- package/layouts/FiltersActions/index.cjs +1 -1
- package/layouts/FiltersActions/index.mjs +1 -1
- package/layouts/Layout/index.cjs +5 -5
- package/layouts/Layout/index.mjs +78 -115
- package/layouts/PageLayout/index.cjs +2 -2
- package/layouts/PageLayout/index.mjs +15 -32
- package/mixins/index.cjs +1 -1
- package/mixins/index.mjs +1 -1
- package/package.json +6 -6
- package/shared/ui/Search/index.cjs +1 -1
- package/shared/ui/Search/index.mjs +30 -52
- package/shared/utils/inputs/index.cjs +1 -1
- package/shared/utils/inputs/index.mjs +33 -48
- package/styles/index.cjs +1 -1
- package/styles/index.mjs +1 -1
- package/themes/index.cjs +1 -1
- package/themes/index.mjs +1 -1
- package/utils/breakpoint/index.cjs +1 -1
- package/utils/breakpoint/index.mjs +1 -1
- package/utils/clickStream/index.cjs +1 -1
- package/utils/clickStream/index.mjs +1 -1
- package/utils/eventBus/index.cjs +1 -1
- package/utils/eventBus/index.mjs +1 -1
- package/utils/hooks/index.cjs +1 -1
- package/utils/hooks/index.mjs +1 -1
- package/utils/index.cjs +1 -1
- package/utils/index.mjs +1 -1
- package/utils/styles/index.cjs +1 -1
- package/utils/styles/index.mjs +1 -1
- package/chunks/AnalyticalWidget-Ca_EuSTO.mjs +0 -868
- package/chunks/AnalyticalWidget-xgvWcsXx.cjs +0 -43
- package/chunks/ApprovalCenter-4aJlJfei.mjs +0 -531
- package/chunks/ApprovalCenter-Ij5NMkY-.cjs +0 -1
- package/chunks/BlockTitle-CgXVHok6.mjs +0 -180
- package/chunks/BlockTitle-SaP9H2PI.cjs +0 -1
- package/chunks/Container-ChuCs63G.cjs +0 -17
- package/chunks/Container-D8RdjkGo.mjs +0 -180
- package/chunks/EmptyState-BxUh2dhY.cjs +0 -1
- package/chunks/EmptyState-C0aHgxrn.mjs +0 -615
- package/chunks/FiltersActions-BekNxF-h.cjs +0 -1
- package/chunks/FiltersActions-CSucE-Ql.mjs +0 -637
- package/chunks/FormDatePickers-BCyW24Pr.cjs +0 -1
- package/chunks/FormDatePickers-DfdGdbwP.mjs +0 -538
- package/chunks/FormSegmentGroup-BKuHtPEn.cjs +0 -1
- package/chunks/FormSegmentGroup-DqFMVBr0.mjs +0 -268
- package/chunks/FormTextArea-CCrYx4pL.mjs +0 -159
- package/chunks/FormTextArea-sly1mY7h.cjs +0 -1
- package/chunks/GridDND-Bycwiynh.mjs +0 -1086
- package/chunks/GridDND-MsZt1fXJ.cjs +0 -1
- package/chunks/LeftPanel-C72uosX_.mjs +0 -303
- package/chunks/LeftPanel-Di-IqpZ_.cjs +0 -1
- package/chunks/ListOfFilters-B3bM1n4w.cjs +0 -1
- package/chunks/ListOfFilters-CPJGgMMc.mjs +0 -462
- package/chunks/MassActions-BbAXi3z9.cjs +0 -1
- package/chunks/MassActions-CZm8vqj8.mjs +0 -1352
- package/chunks/PageTitle-DEsijnDg.cjs +0 -1
- package/chunks/PageTitle-TusD1S2c.mjs +0 -282
- package/chunks/SplitView-BHdftJ9A.cjs +0 -12
- package/chunks/SplitView-Cd-xkxCe.mjs +0 -339
- package/chunks/Stories-CR_EUNO7.mjs +0 -1018
- package/chunks/Stories-CxsYx2OE.cjs +0 -1
- package/chunks/Table--05ONCr1.cjs +0 -31
- package/chunks/Table-l-P3NNUN.mjs +0 -11944
- package/chunks/TableCanvas-BYKPeWME.mjs +0 -16941
- package/chunks/TableCanvas-ZmjSKk64.cjs +0 -30
- package/chunks/TableGlide-CbvaAM_H.cjs +0 -1
- package/chunks/styles-D8FDGdVz.mjs +0 -240
- package/chunks/styles-OR0WE1xm.cjs +0 -2
- package/chunks/utils-C93a2mD7.cjs +0 -25
package/layouts/Layout/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
`)},({$customSpacing:t})=>(t==null?void 0:t.gutter)&&e.css(["--layout-gutter:",";"],t.gutter),({$customSpacing:t})=>(t==null?void 0:t.headerHeight)&&e.css(["--layout-header-height:",";"],t.headerHeight),({$marginTop:t})=>t!==void 0&&e.css(["--layout-margin-top:",";"],t),({$marginBottom:t})=>t!==void 0&&e.css(["--layout-margin-bottom:",";"],t),({$marginLeft:t})=>t!==void 0&&e.css(["--layout-margin-left:",";"],t),({$marginRight:t})=>t!==void 0&&e.css(["--layout-margin-right:",";"],t),({$marginLeft:t})=>t!==void 0&&e.css(["margin-left:var(--layout-margin-left);"]),({$marginRight:t})=>t!==void 0&&e.css(["margin-right:var(--layout-margin-right);"]),({$paddingTop:t})=>t!==void 0&&e.css(["padding-top:",";"],t),({$paddingBottom:t})=>t!==void 0&&e.css(["padding-bottom:",";"],t),({$paddingLeft:t})=>t!==void 0&&e.css(["padding-left:",";"],t),({$paddingRight:t})=>t!==void 0&&e.css(["padding-right:",";"],t),({$customSpacing:t,$marginTop:o,$marginBottom:r})=>{const
|
|
3
|
-
`);return i.media.down("xl")(
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("react/jsx-runtime"),C=require("react"),x=require("../../components/Box/index.cjs"),i=require("../../chunks/utils-DKi1rqLX.cjs"),e=require("styled-components"),n=require("@salutejs/sdds-themes/tokens/sdds_finai"),_={root:"layout__root",header:"layout__header",main:"layout__main",item:"layout__item",centeredItem:"layout__centeredItem"},j={V1_1:"V1_1",V2_1:"V2_1",V2_2:"V2_2",V3_1:"V3_1",V3_2:"V3_2",V3_3:"V3_3",V4_1:"V4_1",V4_2:"V4_2",V5_1:"V5_1"},m={XL:{horizontal:"auto",vertical:{top:n.spacing8x,bottom:n.spacing16x},gutter:n.spacing12x,headerHeight:"auto"},L:{horizontal:n.spacing16x,vertical:{top:n.spacing8x,bottom:n.spacing12x},gutter:n.spacing8x,headerHeight:"auto"}},A=e(x.Box).withConfig({displayName:"Layoutstyles__LayoutRoot"})(["--layout-margin-horizontal:",";--layout-margin-top:",";--layout-margin-bottom:",";--layout-gutter:",";--layout-header-height:",";--layout-max-width:1856px;--layout-grid-template-columns:1fr;"," "," "," "," "," "," "," "," display:grid;width:100%;max-width:var(--layout-max-width);margin-top:var(--layout-margin-top);margin-bottom:var(--layout-margin-bottom);margin-inline:var(--layout-margin-horizontal);"," "," "," "," "," "," grid-template-rows:var(--layout-header-height) 1fr;grid-template-columns:var(--layout-grid-template-columns);gap:var(--layout-gutter);",""],m.XL.horizontal,m.XL.vertical.top,m.XL.vertical.bottom,m.XL.gutter,m.XL.headerHeight,({$customSpacing:t})=>(t==null?void 0:t.horizontal)&&e.css(["--layout-margin-horizontal:",";"],t.horizontal),({$customSpacing:t})=>{if(!(t!=null&&t.vertical))return"";if(typeof t.vertical=="string")return e.css(["--layout-margin-top:",";--layout-margin-bottom:",";"],t.vertical,t.vertical);const o=[];return t.vertical.top!==void 0&&o.push(`--layout-margin-top: ${t.vertical.top};`),t.vertical.bottom!==void 0&&o.push(`--layout-margin-bottom: ${t.vertical.bottom};`),o.join(`
|
|
2
|
+
`)},({$customSpacing:t})=>(t==null?void 0:t.gutter)&&e.css(["--layout-gutter:",";"],t.gutter),({$customSpacing:t})=>(t==null?void 0:t.headerHeight)&&e.css(["--layout-header-height:",";"],t.headerHeight),({$marginTop:t})=>t!==void 0&&e.css(["--layout-margin-top:",";"],t),({$marginBottom:t})=>t!==void 0&&e.css(["--layout-margin-bottom:",";"],t),({$marginLeft:t})=>t!==void 0&&e.css(["--layout-margin-left:",";"],t),({$marginRight:t})=>t!==void 0&&e.css(["--layout-margin-right:",";"],t),({$marginLeft:t})=>t!==void 0&&e.css(["margin-left:var(--layout-margin-left);"]),({$marginRight:t})=>t!==void 0&&e.css(["margin-right:var(--layout-margin-right);"]),({$paddingTop:t})=>t!==void 0&&e.css(["padding-top:",";"],t),({$paddingBottom:t})=>t!==void 0&&e.css(["padding-bottom:",";"],t),({$paddingLeft:t})=>t!==void 0&&e.css(["padding-left:",";"],t),({$paddingRight:t})=>t!==void 0&&e.css(["padding-right:",";"],t),({$customSpacing:t,$marginTop:o,$marginBottom:r})=>{const h=!!(t!=null&&t.vertical),d=!!(t!=null&&t.gutter),u=o!==void 0,y=r!==void 0,g=h||u&&y;if(g&&d)return"";const a=[];if(d||a.push("--layout-gutter: 16px;"),g||(u||a.push("--layout-margin-top: 16px;"),y||a.push("--layout-margin-bottom: 24px;")),a.length===0)return"";const s=a.join(`
|
|
3
|
+
`);return i.media.down("xl")(s)}),z=e(x.Box).withConfig({displayName:"Layoutstyles__LayoutHeader"})(["overflow:hidden;"]),T=e(x.Box).withConfig({displayName:"Layoutstyles__LayoutGridContainer"})(["--pageLayout-container-grid-template-column:minmax(0,1fr);display:grid;height:100%;grid-template-columns:var(--pageLayout-container-grid-template-column);gap:var(--layout-gutter);"," "," "," "," "," "," "," "," ",""],({$variant:t})=>t==="V1_1"&&e.css(["--pageLayout-container-grid-template-column:minmax(0,1fr);"]),({$variant:t})=>t==="V2_1"&&e.css(["--pageLayout-container-grid-template-column:1282px minmax(0,1fr);"," ",""],i.media.only("xl")`
|
|
4
4
|
--pageLayout-container-grid-template-column: minmax(0, 1fr) 360px;
|
|
5
5
|
`,i.media.down("xl")`
|
|
6
6
|
--pageLayout-container-grid-template-column: minmax(0, 1fr) 360px;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
--pageLayout-container-grid-template-column: minmax(0, 1fr);
|
|
15
15
|
`),({$variant:t})=>t==="V4_2"&&e.css(["--pageLayout-container-grid-template-column:repeat(3,minmax(0,1fr));",""],i.media.down("xl")`
|
|
16
16
|
--pageLayout-container-grid-template-column: minmax(0, 1fr);
|
|
17
|
-
`),({$variant:t})=>t==="V5_1"&&e.css(["--pageLayout-container-grid-template-column:360px 840px;position:relative;& .","{position:absolute;left:50%;translate:-50% 0;width:100%;max-width:840px;}"," ",""],
|
|
17
|
+
`),({$variant:t})=>t==="V5_1"&&e.css(["--pageLayout-container-grid-template-column:360px 840px;position:relative;& .","{position:absolute;left:50%;translate:-50% 0;width:100%;max-width:840px;}"," ",""],_.centeredItem,i.media.only("xl")`
|
|
18
18
|
--pageLayout-container-grid-template-column: 360px minmax(0,1fr);
|
|
19
19
|
& .layout__centeredItem {
|
|
20
20
|
position: static;
|
|
@@ -28,4 +28,4 @@
|
|
|
28
28
|
translate: 0 0;
|
|
29
29
|
max-width: unset;
|
|
30
30
|
}
|
|
31
|
-
`)),
|
|
31
|
+
`)),G=e(x.Box).withConfig({displayName:"Layoutstyles__LayoutGridItem"})(["overflow-x:hidden;height:100%;"]),H=(t,o)=>{const r=typeof o=="object";return{root:`${t.root} ${r?(o==null?void 0:o.root)??"":o??""}`.trim(),header:`${t.header} ${r?(o==null?void 0:o.header)??"":""}`.trim(),main:`${t.main} ${r?(o==null?void 0:o.main)??"":""}`.trim(),item:`${t.item} ${r?(o==null?void 0:o.item)??"":""}`.trim(),centeredItem:`${t.centeredItem} ${r?(o==null?void 0:o.centeredItem)??"":""}`.trim()}},q=({variant:t="V1_1",headerSlot:o,mainSlot:r,customSpacing:h={},marginTop:d,marginBottom:u,paddingTop:y,paddingBottom:g,marginLeft:a,marginRight:s,paddingLeft:c,paddingRight:L,classes:f,...v})=>{const l=H(_,f),V=()=>r?p.jsx(T,{className:l.main,$variant:t,children:C.Children.map(r,(w,b)=>{const I=t==="V5_1"&&b===1?`${l.item} ${l.centeredItem}`.trim():l.item;return p.jsx(G,{className:I,children:w})})}):null;return p.jsxs(A,{$variant:t,$customSpacing:h,$marginTop:d,$marginBottom:u,$paddingTop:y,$paddingBottom:g,$marginLeft:a,$marginRight:s,$paddingLeft:c,$paddingRight:L,className:l.root,...v,children:[o&&p.jsx(z,{className:l.header,children:o}),V()]})};exports.LAYOUT_SPACING=m;exports.LAYOUT_VARIANTS=j;exports.Layout=q;exports.LayoutDfClassNames=_;
|
package/layouts/Layout/index.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import { Box as
|
|
4
|
-
import { b as
|
|
5
|
-
import
|
|
6
|
-
import { spacing8x as
|
|
7
|
-
const
|
|
1
|
+
import { jsxs as G, jsx as _ } from "react/jsx-runtime";
|
|
2
|
+
import X from "react";
|
|
3
|
+
import { Box as p } from "../../components/Box/index.mjs";
|
|
4
|
+
import { b as a } from "../../chunks/utils-C5SQhoON.mjs";
|
|
5
|
+
import g, { css as e } from "styled-components";
|
|
6
|
+
import { spacing8x as f, spacing12x as L, spacing16x as v } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
7
|
+
const V = {
|
|
8
8
|
root: "layout__root",
|
|
9
9
|
header: "layout__header",
|
|
10
10
|
main: "layout__main",
|
|
11
11
|
item: "layout__item",
|
|
12
12
|
centeredItem: "layout__centeredItem"
|
|
13
|
-
},
|
|
13
|
+
}, q = {
|
|
14
14
|
V1_1: "V1_1",
|
|
15
15
|
V2_1: "V2_1",
|
|
16
16
|
V2_2: "V2_2",
|
|
@@ -24,7 +24,7 @@ const s = {
|
|
|
24
24
|
XL: {
|
|
25
25
|
horizontal: "auto",
|
|
26
26
|
vertical: {
|
|
27
|
-
top:
|
|
27
|
+
top: f,
|
|
28
28
|
bottom: v
|
|
29
29
|
},
|
|
30
30
|
gutter: L,
|
|
@@ -34,192 +34,155 @@ const s = {
|
|
|
34
34
|
L: {
|
|
35
35
|
horizontal: v,
|
|
36
36
|
vertical: {
|
|
37
|
-
top:
|
|
37
|
+
top: f,
|
|
38
38
|
bottom: L
|
|
39
39
|
},
|
|
40
|
-
gutter:
|
|
40
|
+
gutter: f,
|
|
41
41
|
headerHeight: "auto"
|
|
42
42
|
// Ранее был фиксированной высотой 143px
|
|
43
43
|
}
|
|
44
44
|
/* TODO: Добавить другие breakpoints (L, M, S) когда понадобится */
|
|
45
|
-
},
|
|
45
|
+
}, s = g(p).withConfig({
|
|
46
46
|
displayName: "Layoutstyles__LayoutRoot"
|
|
47
47
|
})(["--layout-margin-horizontal:", ";--layout-margin-top:", ";--layout-margin-bottom:", ";--layout-gutter:", ";--layout-header-height:", ";--layout-max-width:1856px;--layout-grid-template-columns:1fr;", " ", " ", " ", " ", " ", " ", " ", " display:grid;width:100%;max-width:var(--layout-max-width);margin-top:var(--layout-margin-top);margin-bottom:var(--layout-margin-bottom);margin-inline:var(--layout-margin-horizontal);", " ", " ", " ", " ", " ", " grid-template-rows:var(--layout-header-height) 1fr;grid-template-columns:var(--layout-grid-template-columns);gap:var(--layout-gutter);", ""], l.XL.horizontal, l.XL.vertical.top, l.XL.vertical.bottom, l.XL.gutter, l.XL.headerHeight, ({
|
|
48
48
|
$customSpacing: t
|
|
49
|
-
}) => (t == null ? void 0 : t.horizontal) &&
|
|
49
|
+
}) => (t == null ? void 0 : t.horizontal) && e(["--layout-margin-horizontal:", ";"], t.horizontal), ({
|
|
50
50
|
$customSpacing: t
|
|
51
51
|
}) => {
|
|
52
52
|
if (!(t != null && t.vertical))
|
|
53
53
|
return "";
|
|
54
54
|
if (typeof t.vertical == "string")
|
|
55
|
-
return
|
|
56
|
-
const
|
|
57
|
-
return t.vertical.top !== void 0 &&
|
|
55
|
+
return e(["--layout-margin-top:", ";--layout-margin-bottom:", ";"], t.vertical, t.vertical);
|
|
56
|
+
const o = [];
|
|
57
|
+
return t.vertical.top !== void 0 && o.push(`--layout-margin-top: ${t.vertical.top};`), t.vertical.bottom !== void 0 && o.push(`--layout-margin-bottom: ${t.vertical.bottom};`), o.join(`
|
|
58
58
|
`);
|
|
59
59
|
}, ({
|
|
60
60
|
$customSpacing: t
|
|
61
|
-
}) => (t == null ? void 0 : t.gutter) &&
|
|
61
|
+
}) => (t == null ? void 0 : t.gutter) && e(["--layout-gutter:", ";"], t.gutter), ({
|
|
62
62
|
$customSpacing: t
|
|
63
|
-
}) => (t == null ? void 0 : t.headerHeight) &&
|
|
63
|
+
}) => (t == null ? void 0 : t.headerHeight) && e(["--layout-header-height:", ";"], t.headerHeight), ({
|
|
64
64
|
$marginTop: t
|
|
65
|
-
}) => t !== void 0 &&
|
|
65
|
+
}) => t !== void 0 && e(["--layout-margin-top:", ";"], t), ({
|
|
66
66
|
$marginBottom: t
|
|
67
|
-
}) => t !== void 0 &&
|
|
67
|
+
}) => t !== void 0 && e(["--layout-margin-bottom:", ";"], t), ({
|
|
68
68
|
$marginLeft: t
|
|
69
|
-
}) => t !== void 0 &&
|
|
69
|
+
}) => t !== void 0 && e(["--layout-margin-left:", ";"], t), ({
|
|
70
70
|
$marginRight: t
|
|
71
|
-
}) => t !== void 0 &&
|
|
71
|
+
}) => t !== void 0 && e(["--layout-margin-right:", ";"], t), ({
|
|
72
72
|
$marginLeft: t
|
|
73
|
-
}) => t !== void 0 &&
|
|
73
|
+
}) => t !== void 0 && e(["margin-left:var(--layout-margin-left);"]), ({
|
|
74
74
|
$marginRight: t
|
|
75
|
-
}) => t !== void 0 &&
|
|
75
|
+
}) => t !== void 0 && e(["margin-right:var(--layout-margin-right);"]), ({
|
|
76
76
|
$paddingTop: t
|
|
77
|
-
}) => t !== void 0 &&
|
|
77
|
+
}) => t !== void 0 && e(["padding-top:", ";"], t), ({
|
|
78
78
|
$paddingBottom: t
|
|
79
|
-
}) => t !== void 0 &&
|
|
79
|
+
}) => t !== void 0 && e(["padding-bottom:", ";"], t), ({
|
|
80
80
|
$paddingLeft: t
|
|
81
|
-
}) => t !== void 0 &&
|
|
81
|
+
}) => t !== void 0 && e(["padding-left:", ";"], t), ({
|
|
82
82
|
$paddingRight: t
|
|
83
|
-
}) => t !== void 0 &&
|
|
83
|
+
}) => t !== void 0 && e(["padding-right:", ";"], t), ({
|
|
84
84
|
$customSpacing: t,
|
|
85
|
-
$marginTop:
|
|
85
|
+
$marginTop: o,
|
|
86
86
|
$marginBottom: r
|
|
87
87
|
}) => {
|
|
88
|
-
const
|
|
88
|
+
const h = !!(t != null && t.vertical), m = !!(t != null && t.gutter), d = o !== void 0, u = r !== void 0, y = h || d && u;
|
|
89
89
|
if (y && m)
|
|
90
90
|
return "";
|
|
91
|
-
const
|
|
92
|
-
if (m ||
|
|
91
|
+
const i = [];
|
|
92
|
+
if (m || i.push("--layout-gutter: 16px;"), y || (d || i.push("--layout-margin-top: 16px;"), u || i.push("--layout-margin-bottom: 24px;")), i.length === 0)
|
|
93
93
|
return "";
|
|
94
|
-
const
|
|
94
|
+
const x = i.join(`
|
|
95
95
|
`);
|
|
96
|
-
return
|
|
97
|
-
}),
|
|
96
|
+
return a.down("xl")(x);
|
|
97
|
+
}), A = g(p).withConfig({
|
|
98
98
|
displayName: "Layoutstyles__LayoutHeader"
|
|
99
|
-
})(["overflow:hidden;"]),
|
|
99
|
+
})(["overflow:hidden;"]), R = g(p).withConfig({
|
|
100
100
|
displayName: "Layoutstyles__LayoutGridContainer"
|
|
101
101
|
})(["--pageLayout-container-grid-template-column:minmax(0,1fr);display:grid;height:100%;grid-template-columns:var(--pageLayout-container-grid-template-column);gap:var(--layout-gutter);", " ", " ", " ", " ", " ", " ", " ", " ", ""], ({
|
|
102
102
|
$variant: t
|
|
103
|
-
}) => t === "V1_1" &&
|
|
103
|
+
}) => t === "V1_1" && e(["--pageLayout-container-grid-template-column:minmax(0,1fr);"]), ({
|
|
104
104
|
$variant: t
|
|
105
|
-
}) => t === "V2_1" &&
|
|
105
|
+
}) => t === "V2_1" && e(["--pageLayout-container-grid-template-column:1282px minmax(0,1fr);", " ", ""], a.only("xl")`
|
|
106
106
|
--pageLayout-container-grid-template-column: minmax(0, 1fr) 360px;
|
|
107
|
-
`,
|
|
107
|
+
`, a.down("xl")`
|
|
108
108
|
--pageLayout-container-grid-template-column: minmax(0, 1fr) 360px;
|
|
109
109
|
`), ({
|
|
110
110
|
$variant: t
|
|
111
|
-
}) => t === "V2_2" &&
|
|
111
|
+
}) => t === "V2_2" && e(["--pageLayout-container-grid-template-column:minmax(0,1fr) 1282px;", " ", ""], a.only("xl")`
|
|
112
112
|
--pageLayout-container-grid-template-column: 360px minmax(0, 1fr);
|
|
113
|
-
`,
|
|
113
|
+
`, a.down("xl")`
|
|
114
114
|
--pageLayout-container-grid-template-column: 360px minmax(0, 1fr);
|
|
115
115
|
`), ({
|
|
116
116
|
$variant: t
|
|
117
|
-
}) => t === "V3_1" &&
|
|
117
|
+
}) => t === "V3_1" && e(["--pageLayout-container-grid-template-column:minmax(0,1fr) 360px;"]), ({
|
|
118
118
|
$variant: t
|
|
119
|
-
}) => t === "V3_2" &&
|
|
119
|
+
}) => t === "V3_2" && e(["--pageLayout-container-grid-template-column:360px minmax(0,1fr);"]), ({
|
|
120
120
|
$variant: t
|
|
121
|
-
}) => t === "V3_3" &&
|
|
121
|
+
}) => t === "V3_3" && e(["--pageLayout-container-grid-template-column:360px minmax(0,1fr) 360px;", ""], a.down("xl")`
|
|
122
122
|
--pageLayout-container-grid-template-column: minmax(0, 1fr);
|
|
123
123
|
`), ({
|
|
124
124
|
$variant: t
|
|
125
|
-
}) => t === "V4_1" &&
|
|
125
|
+
}) => t === "V4_1" && e(["--pageLayout-container-grid-template-column:repeat(2,minmax(0,1fr));", ""], a.down("xl")`
|
|
126
126
|
--pageLayout-container-grid-template-column: minmax(0, 1fr);
|
|
127
127
|
`), ({
|
|
128
128
|
$variant: t
|
|
129
|
-
}) => t === "V4_2" &&
|
|
129
|
+
}) => t === "V4_2" && e(["--pageLayout-container-grid-template-column:repeat(3,minmax(0,1fr));", ""], a.down("xl")`
|
|
130
130
|
--pageLayout-container-grid-template-column: minmax(0, 1fr);
|
|
131
131
|
`), ({
|
|
132
132
|
$variant: t
|
|
133
|
-
}) => t === "V5_1" &&
|
|
133
|
+
}) => t === "V5_1" && e(["--pageLayout-container-grid-template-column:360px 840px;position:relative;& .", "{position:absolute;left:50%;translate:-50% 0;width:100%;max-width:840px;}", " ", ""], V.centeredItem, a.only("xl")`
|
|
134
134
|
--pageLayout-container-grid-template-column: 360px minmax(0,1fr);
|
|
135
135
|
& .layout__centeredItem {
|
|
136
136
|
position: static;
|
|
137
137
|
translate: 0 0;
|
|
138
138
|
max-width: unset;
|
|
139
139
|
}
|
|
140
|
-
`,
|
|
140
|
+
`, a.down("xl")`
|
|
141
141
|
--pageLayout-container-grid-template-column: 240px minmax(0,1fr);
|
|
142
142
|
& .layout__centeredItem {
|
|
143
143
|
position: static;
|
|
144
144
|
translate: 0 0;
|
|
145
145
|
max-width: unset;
|
|
146
146
|
}
|
|
147
|
-
`)),
|
|
147
|
+
`)), T = g(p).withConfig({
|
|
148
148
|
displayName: "Layoutstyles__LayoutGridItem"
|
|
149
|
-
})(["overflow-x:hidden;height:100%;"]),
|
|
150
|
-
const r = typeof
|
|
149
|
+
})(["overflow-x:hidden;height:100%;"]), D = (t, o) => {
|
|
150
|
+
const r = typeof o == "object";
|
|
151
151
|
return {
|
|
152
|
-
root: `${t.root} ${r ? (
|
|
153
|
-
header: `${t.header} ${r ? (
|
|
154
|
-
main: `${t.main} ${r ? (
|
|
155
|
-
item: `${t.item} ${r ? (
|
|
156
|
-
centeredItem: `${t.centeredItem} ${r ? (
|
|
152
|
+
root: `${t.root} ${r ? (o == null ? void 0 : o.root) ?? "" : o ?? ""}`.trim(),
|
|
153
|
+
header: `${t.header} ${r ? (o == null ? void 0 : o.header) ?? "" : ""}`.trim(),
|
|
154
|
+
main: `${t.main} ${r ? (o == null ? void 0 : o.main) ?? "" : ""}`.trim(),
|
|
155
|
+
item: `${t.item} ${r ? (o == null ? void 0 : o.item) ?? "" : ""}`.trim(),
|
|
156
|
+
centeredItem: `${t.centeredItem} ${r ? (o == null ? void 0 : o.centeredItem) ?? "" : ""}`.trim()
|
|
157
157
|
};
|
|
158
|
-
},
|
|
158
|
+
}, E = ({
|
|
159
159
|
variant: t = "V1_1",
|
|
160
|
-
headerSlot:
|
|
160
|
+
headerSlot: o,
|
|
161
161
|
mainSlot: r,
|
|
162
|
-
customSpacing:
|
|
162
|
+
customSpacing: h = {},
|
|
163
163
|
marginTop: m,
|
|
164
|
-
marginBottom:
|
|
165
|
-
paddingTop:
|
|
164
|
+
marginBottom: d,
|
|
165
|
+
paddingTop: u,
|
|
166
166
|
paddingBottom: y,
|
|
167
|
-
marginLeft:
|
|
168
|
-
marginRight:
|
|
169
|
-
paddingLeft:
|
|
170
|
-
paddingRight:
|
|
171
|
-
classes:
|
|
172
|
-
...
|
|
167
|
+
marginLeft: i,
|
|
168
|
+
marginRight: x,
|
|
169
|
+
paddingLeft: w,
|
|
170
|
+
paddingRight: b,
|
|
171
|
+
classes: c,
|
|
172
|
+
...I
|
|
173
173
|
}) => {
|
|
174
|
-
const n =
|
|
175
|
-
const j = t === "V5_1" &&
|
|
176
|
-
return /* @__PURE__ */
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
})
|
|
182
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/layouts/Layout/Layout.tsx",
|
|
183
|
-
lineNumber: 35,
|
|
184
|
-
columnNumber: 7
|
|
185
|
-
}, void 0) : null;
|
|
186
|
-
return /* @__PURE__ */ p.jsxDEV(
|
|
187
|
-
D,
|
|
188
|
-
{
|
|
189
|
-
$variant: t,
|
|
190
|
-
$customSpacing: x,
|
|
191
|
-
$marginTop: m,
|
|
192
|
-
$marginBottom: u,
|
|
193
|
-
$paddingTop: d,
|
|
194
|
-
$paddingBottom: y,
|
|
195
|
-
$marginLeft: a,
|
|
196
|
-
$marginRight: f,
|
|
197
|
-
$paddingLeft: V,
|
|
198
|
-
$paddingRight: c,
|
|
199
|
-
className: n.root,
|
|
200
|
-
...b,
|
|
201
|
-
children: [
|
|
202
|
-
e && /* @__PURE__ */ p.jsxDEV(H, { className: n.header, children: e }, void 0, !1, {
|
|
203
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/layouts/Layout/Layout.tsx",
|
|
204
|
-
lineNumber: 67,
|
|
205
|
-
columnNumber: 7
|
|
206
|
-
}, void 0),
|
|
207
|
-
I()
|
|
208
|
-
]
|
|
209
|
-
},
|
|
210
|
-
void 0,
|
|
211
|
-
!0,
|
|
212
|
-
{
|
|
213
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/layouts/Layout/Layout.tsx",
|
|
214
|
-
lineNumber: 52,
|
|
215
|
-
columnNumber: 5
|
|
216
|
-
},
|
|
217
|
-
void 0
|
|
218
|
-
);
|
|
174
|
+
const n = D(V, c), C = () => r ? /* @__PURE__ */ _(R, { className: n.main, $variant: t, children: X.Children.map(r, (z, H) => {
|
|
175
|
+
const j = t === "V5_1" && H === 1 ? `${n.item} ${n.centeredItem}`.trim() : n.item;
|
|
176
|
+
return /* @__PURE__ */ _(T, { className: j, children: z });
|
|
177
|
+
}) }) : null;
|
|
178
|
+
return /* @__PURE__ */ G(s, { $variant: t, $customSpacing: h, $marginTop: m, $marginBottom: d, $paddingTop: u, $paddingBottom: y, $marginLeft: i, $marginRight: x, $paddingLeft: w, $paddingRight: b, className: n.root, ...I, children: [
|
|
179
|
+
o && /* @__PURE__ */ _(A, { className: n.header, children: o }),
|
|
180
|
+
C()
|
|
181
|
+
] });
|
|
219
182
|
};
|
|
220
183
|
export {
|
|
221
184
|
l as LAYOUT_SPACING,
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
185
|
+
q as LAYOUT_VARIANTS,
|
|
186
|
+
E as Layout,
|
|
187
|
+
V as LayoutDfClassNames
|
|
225
188
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react/jsx-runtime"),o=require("../../chunks/utils-DKi1rqLX.cjs"),i=require("styled-components"),e=t=>typeof t=="number"?`${t}px`:t,l=i.div.withConfig({displayName:"PageLayoutstyled__StyledPageLayout"})(["--page-layout-padding-top:",";--page-layout-padding-inline:24px;--page-layout-padding-bottom:",";"," "," display:flex;max-width:1920px;margin-inline:auto;padding-top:var(--page-layout-padding-top);padding-inline:var(--page-layout-padding-inline);padding-bottom:var(--page-layout-padding-bottom);box-sizing:border-box;",""],({$paddingTop:t})=>t!==void 0?e(t):"var(--global-header-height, 72px)",({$paddingBottom:t})=>t!==void 0?e(t):"24px",({$paddingBottom:t})=>t===void 0&&o.media.up("l")("--page-layout-padding-bottom: 32px;"),o.media.up("l")`
|
|
2
2
|
--page-layout-padding-inline: 32px;
|
|
3
|
-
`,({$minHeight:
|
|
3
|
+
`,({$minHeight:t})=>{if(t!==void 0){const a=e(t);return a==="0px"||a==="0"||a==="auto"?"":i.css(["min-height:",";"],a)}return i.css(["min-height:100dvh;"])}),u=({paddingTop:t,paddingBottom:a,minHeight:d,children:n,className:p})=>g.jsx(l,{$paddingTop:t,$paddingBottom:a,$minHeight:d,className:p,children:n});exports.PageLayout=u;
|
|
@@ -1,48 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { b as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { b as i } from "../../chunks/utils-C5SQhoON.mjs";
|
|
3
|
+
import l, { css as p } from "styled-components";
|
|
4
|
+
const t = (a) => typeof a == "number" ? `${a}px` : a, r = l.div.withConfig({
|
|
5
5
|
displayName: "PageLayoutstyled__StyledPageLayout"
|
|
6
6
|
})(["--page-layout-padding-top:", ";--page-layout-padding-inline:24px;--page-layout-padding-bottom:", ";", " ", " display:flex;max-width:1920px;margin-inline:auto;padding-top:var(--page-layout-padding-top);padding-inline:var(--page-layout-padding-inline);padding-bottom:var(--page-layout-padding-bottom);box-sizing:border-box;", ""], ({
|
|
7
7
|
$paddingTop: a
|
|
8
|
-
}) => a !== void 0 ?
|
|
8
|
+
}) => a !== void 0 ? t(a) : "var(--global-header-height, 72px)", ({
|
|
9
9
|
$paddingBottom: a
|
|
10
|
-
}) => a !== void 0 ?
|
|
10
|
+
}) => a !== void 0 ? t(a) : "24px", ({
|
|
11
11
|
$paddingBottom: a
|
|
12
|
-
}) => a === void 0 &&
|
|
12
|
+
}) => a === void 0 && i.up("l")("--page-layout-padding-bottom: 32px;"), i.up("l")`
|
|
13
13
|
--page-layout-padding-inline: 32px;
|
|
14
14
|
`, ({
|
|
15
15
|
$minHeight: a
|
|
16
16
|
}) => {
|
|
17
17
|
if (a !== void 0) {
|
|
18
|
-
const
|
|
19
|
-
return
|
|
18
|
+
const o = t(a);
|
|
19
|
+
return o === "0px" || o === "0" || o === "auto" ? "" : p(["min-height:", ";"], o);
|
|
20
20
|
}
|
|
21
|
-
return
|
|
22
|
-
}),
|
|
21
|
+
return p(["min-height:100dvh;"]);
|
|
22
|
+
}), s = ({
|
|
23
23
|
paddingTop: a,
|
|
24
|
-
paddingBottom:
|
|
24
|
+
paddingBottom: o,
|
|
25
25
|
minHeight: d,
|
|
26
|
-
children:
|
|
26
|
+
children: e,
|
|
27
27
|
className: n
|
|
28
|
-
}) => /* @__PURE__ */ g
|
|
29
|
-
l,
|
|
30
|
-
{
|
|
31
|
-
$paddingTop: a,
|
|
32
|
-
$paddingBottom: i,
|
|
33
|
-
$minHeight: d,
|
|
34
|
-
className: n,
|
|
35
|
-
children: p
|
|
36
|
-
},
|
|
37
|
-
void 0,
|
|
38
|
-
!1,
|
|
39
|
-
{
|
|
40
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/layouts/PageLayout/PageLayout.tsx",
|
|
41
|
-
lineNumber: 13,
|
|
42
|
-
columnNumber: 1
|
|
43
|
-
},
|
|
44
|
-
void 0
|
|
45
|
-
);
|
|
28
|
+
}) => /* @__PURE__ */ g(r, { $paddingTop: a, $paddingBottom: o, $minHeight: d, className: n, children: e });
|
|
46
29
|
export {
|
|
47
|
-
|
|
30
|
+
s as PageLayout
|
|
48
31
|
};
|
package/mixins/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("../chunks/utils-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("../chunks/utils-DKi1rqLX.cjs"),s=require("styled-components"),l=require("@salutejs/sdds-themes/tokens/sdds_finai"),L=require("@salutejs/sdds-finai"),v="linear-gradient(to top, rgb(19, 24, 27) 0%, rgba(19, 24, 27, 0) 100%)",w="linear-gradient(to top, rgb(6, 10, 12) 0%, rgba(6, 10, 12, 0) 100%)",m="linear-gradient(to top, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%)",k="linear-gradient(to top, rgb(242, 245, 248) 0%, rgba(242, 245, 248, 0) 100%)",h="scroll-gradient",f=`--${h}-timeline`,R=`${h}-animation`,_=100,x=60,y="--block-gradient-top",g="--block-gradient-left",p="--block-gradient-right",A="--block-gradient-bottom",E={light:{white:m,gray:k},dark:{white:v,gray:w},highContrastLight:{white:m,gray:k}},I=r=>{const o=T.getActiveTheme();return E[o][r]},S=r=>{if(r===void 0)return{top:0,left:0,right:0,bottom:0};if(typeof r=="number")return{top:r,left:r,right:r,bottom:r};const{top:o,left:t,right:a,bottom:e,inline:n}=r;return{top:o??0,left:t??n??0,right:a??n??0,bottom:e??0}},D=r=>{const{left:o,right:t,bottom:a,top:e}=S(r);return s.css(["scroll-timeline:"," block;padding-top:","px;padding-right:","px;padding-bottom:","px;padding-left:","px;"],f,e,t,a,o)},B=(r,o)=>{const{left:t,right:a,bottom:e}=S(r),n=I(o);return s.css(["content:'';display:block;position:sticky;bottom:0;height:","px;pointer-events:none;background:",";margin-top:-","px;opacity:0;animation:"," linear both;animation-timeline:",";margin-left:calc(0px - var(",",","px));margin-right:calc(0px - var(",",","px));transform:translateY(var(",",","px));width:calc( 100% + var(",",","px) + var(",",","px) );will-change:transform;",""],_,()=>n,_,R,f,g,t,p,a,A,e,g,t,p,a,T.media.exact(0,1279)(`
|
|
2
2
|
height: ${x}px;
|
|
3
3
|
margin-top: -${x}px;
|
|
4
4
|
`))},N=s.css(["@keyframes ","{0%,85%{opacity:1;}100%{opacity:0;}}"],R),K=r=>{const{variant:o="white",padding:t}=r;return s.css([""," &::after{","}",""],D(t),B(t,o),N)},b={width:"10px",height:"10px",borderRadius:`calc(${l.borderRadiusXxs}/1)`,isThin:!0,theme:"light"},C=({thumbColor:r,thumbColorHover:o,trackColor:t,trackColorHover:a,theme:e=b.theme})=>{const n=r??(e==="light"?l.surfaceSolidTertiary:l.onDarkSurfaceSolidTertiary),i=t??"transparent",c=o??(e==="light"?l.surfaceSolidTertiaryHover:l.onDarkSurfaceSolidTertiaryHover);return{thumb:n,thumbHover:c,track:i,trackHover:a??i}},G=({width:r=b.width,height:o=b.height,borderRadius:t=b.borderRadius,isThin:a=b.isThin,thumb:e,thumbHover:n,track:i,trackHover:c})=>s.css(["@supports (scrollbar-width:thin) and (not selector(::-webkit-scrollbar)){scrollbar-width:",";scrollbar-color:"," ",";}&[class]::-webkit-scrollbar,&::-webkit-scrollbar{width:",";height:",";}&[class]::-webkit-scrollbar-track,&::-webkit-scrollbar-track{background:",";border-radius:",";margin-block:6px;}&[class]::-webkit-scrollbar-track:hover,&::-webkit-scrollbar-track:hover{background:",";border-radius:",";margin-block:6px;}&[class]::-webkit-scrollbar-thumb,&::-webkit-scrollbar-thumb{background:",";transition:background 0.2s ease;background-clip:padding-box;border:2px solid transparent;border-radius:4px;cursor:pointer;}&[class]::-webkit-scrollbar-thumb:hover,&::-webkit-scrollbar-thumb:hover{transition:background 0.2s ease;border:2px solid transparent;border-radius:4px;cursor:pointer;background:",";background-clip:padding-box;}"],a?"thin":"auto",e,i,r,o,()=>i,t,()=>c,t,()=>e,()=>n),M=()=>{const r=C({});return G({...r})},H=({width:r,height:o,borderRadius:t,isThin:a,thumbColor:e,thumbColorHover:n,trackColor:i,trackColorHover:c,theme:d}={})=>{const u=C({thumbColor:e,thumbColorHover:n,trackColor:i,trackColorHover:c,theme:d});return G({width:r,height:o,borderRadius:t,isThin:a,...u})},P=s.keyframes(["0%,100%{box-shadow:0 0 0 2px var(--tour-pulse-border-color),0 0 0 6px var(--tour-pulse-shadow-color);}50%{box-shadow:0 0 0 3px var(--tour-pulse-border-color-fade),0 0 0 12px var(--tour-pulse-shadow-color-fade);}"]),V=({duration:r,timingFunction:o,iterationCount:t})=>s.css(["animation-name:",";animation-duration:",";animation-timing-function:",";animation-iteration-count:",";"],P,r,o,t),F=({backgroundColor:r="transparent",borderColor:o="var(--on-light-outline-accent-minor, rgb(82, 186, 255))",borderColorFade:t="rgba(82, 186, 255, 0.42)",shadowColor:a="rgba(82, 186, 255, 0.24)",shadowColorFade:e="rgba(82, 186, 255, 0)",inset:n="-4px",borderRadius:i="16px",duration:c="1.4s",timingFunction:d="ease-in-out",iterationCount:u="infinite",pointerEventsNone:O=!0}={})=>s.css([""," ",""],s.css({"--tour-pulse-border-color":o,"--tour-pulse-border-color-fade":t,"--tour-pulse-shadow-color":a,"--tour-pulse-shadow-color-fade":e,inset:n,borderRadius:i,background:r,...O?{pointerEvents:"none"}:{}}),V({duration:c,timingFunction:d,iterationCount:u}));Object.defineProperty(exports,"addFocus",{enumerable:!0,get:()=>L.addFocus});Object.defineProperty(exports,"mediaQuery",{enumerable:!0,get:()=>L.mediaQuery});exports.BLOCK_GRADIENT_SCROLL_CLASSNAME=h;exports.BLOCK_GRADIENT_VAR_BOTTOM=A;exports.BLOCK_GRADIENT_VAR_LEFT=g;exports.BLOCK_GRADIENT_VAR_RIGHT=p;exports.BLOCK_GRADIENT_VAR_TOP=y;exports.BlockGradientScrollMixin=K;exports.getCustomScrollbar=H;exports.getDefaultScrollbar=M;exports.tourPulseMixin=F;
|
package/mixins/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as G, b as S } from "../chunks/utils-
|
|
1
|
+
import { g as G, b as S } from "../chunks/utils-C5SQhoON.mjs";
|
|
2
2
|
import { css as l, keyframes as C } from "styled-components";
|
|
3
3
|
import { borderRadiusXxs as y, surfaceSolidTertiaryHover as R, onDarkSurfaceSolidTertiaryHover as A, surfaceSolidTertiary as O, onDarkSurfaceSolidTertiary as E } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
4
4
|
import { addFocus as Z, mediaQuery as rr } from "@salutejs/sdds-finai";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daisforge/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"main": "./index.cjs",
|
|
5
5
|
"module": "./index.mjs",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"registry": "https://registry.npmjs.org/"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@glideappsfinal/glide-data-grid": "^6.
|
|
35
|
-
"@salutejs/plasma-icons": "^1.
|
|
36
|
-
"@salutejs/plasma-typo": "^0.
|
|
37
|
-
"@salutejs/sdds-finai": "^0.
|
|
38
|
-
"@salutejs/sdds-themes": "^0.
|
|
34
|
+
"@glideappsfinal/glide-data-grid": "^6.1.8",
|
|
35
|
+
"@salutejs/plasma-icons": "^1.244.0",
|
|
36
|
+
"@salutejs/plasma-typo": "^0.48.0",
|
|
37
|
+
"@salutejs/sdds-finai": "^0.351.0",
|
|
38
|
+
"@salutejs/sdds-themes": "^0.73.0",
|
|
39
39
|
"canvas-hypertxt": "^1.0.3",
|
|
40
40
|
"lodash.clonedeep": "^4.5.0",
|
|
41
41
|
"lodash.isequal": "^4.5.0",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("../../../components/Box/index.cjs"),t=require("@salutejs/sdds-themes/tokens/sdds_finai"),r=require("@salutejs/sdds-finai"),a=require("../../../components/TextField/index.cjs"),l=require("styled-components"),d=({icon:o,title:c="Ничего не нашлось",subTitle:i="Попробуйте изменить запрос"})=>e.jsxs(n.Box,{$css:{display:"flex",flexDirection:"column",alignItems:"center"},children:[o&&e.jsx(n.Box,{$css:{marginBottom:"8px"},children:o}),e.jsx(r.H3,{color:t.textPrimary,style:{marginBottom:"4px"},children:c}),e.jsx(r.BodyM,{color:t.textSecondary,children:i})]}),s=l(a.TextFieldSearch).withConfig({displayName:"styled__StyledSearchBlock"})(["&& .input-wrapper{padding-block:12px;padding-inline:10px;border-radius:8px;}"]),x=l(r.IconButton).withConfig({displayName:"styled__StyledClearBtn"})(["background-color:transparent;height:100%;width:24px !important;color:",";&:hover{background-color:transparent;color:",";}"],()=>t.textSecondary,()=>t.textSecondary);exports.EmptySearchFallback=d;exports.StyledClearBtn=x;exports.StyledSearchBlock=s;
|
|
@@ -1,54 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Box as
|
|
3
|
-
import { textPrimary as
|
|
4
|
-
import { H3 as
|
|
5
|
-
import { TextFieldSearch as
|
|
6
|
-
import
|
|
7
|
-
const
|
|
8
|
-
icon:
|
|
9
|
-
title:
|
|
10
|
-
subTitle:
|
|
11
|
-
}) => /* @__PURE__ */ e
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
columnNumber: 5
|
|
29
|
-
}, void 0),
|
|
30
|
-
/* @__PURE__ */ e.jsxDEV(s, { color: r, children: l }, void 0, !1, {
|
|
31
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/shared/ui/Search/EmptySearchFallback.tsx",
|
|
32
|
-
lineNumber: 28,
|
|
33
|
-
columnNumber: 5
|
|
34
|
-
}, void 0)
|
|
35
|
-
]
|
|
36
|
-
},
|
|
37
|
-
void 0,
|
|
38
|
-
!0,
|
|
39
|
-
{
|
|
40
|
-
fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/shared/ui/Search/EmptySearchFallback.tsx",
|
|
41
|
-
lineNumber: 17,
|
|
42
|
-
columnNumber: 1
|
|
43
|
-
},
|
|
44
|
-
void 0
|
|
45
|
-
), b = o(m).withConfig({ displayName: "styled__StyledSearchBlock" })(["&& .input-wrapper{padding-block:12px;padding-inline:10px;border-radius:8px;}"]), S = o(d).withConfig({ displayName: "styled__StyledClearBtn" })(
|
|
46
|
-
["background-color:transparent;height:100%;width:24px !important;color:", ";&:hover{background-color:transparent;color:", ";}"],
|
|
47
|
-
() => r,
|
|
48
|
-
() => r
|
|
49
|
-
);
|
|
1
|
+
import { jsxs as a, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Box as e } from "../../../components/Box/index.mjs";
|
|
3
|
+
import { textPrimary as c, textSecondary as o } from "@salutejs/sdds-themes/tokens/sdds_finai";
|
|
4
|
+
import { H3 as d, BodyM as p, IconButton as m } from "@salutejs/sdds-finai";
|
|
5
|
+
import { TextFieldSearch as s } from "../../../components/TextField/index.mjs";
|
|
6
|
+
import l from "styled-components";
|
|
7
|
+
const S = ({
|
|
8
|
+
icon: t,
|
|
9
|
+
title: i = "Ничего не нашлось",
|
|
10
|
+
subTitle: n = "Попробуйте изменить запрос"
|
|
11
|
+
}) => /* @__PURE__ */ a(e, { $css: {
|
|
12
|
+
display: "flex",
|
|
13
|
+
flexDirection: "column",
|
|
14
|
+
alignItems: "center"
|
|
15
|
+
}, children: [
|
|
16
|
+
t && /* @__PURE__ */ r(e, { $css: {
|
|
17
|
+
marginBottom: "8px"
|
|
18
|
+
}, children: t }),
|
|
19
|
+
/* @__PURE__ */ r(d, { color: c, style: {
|
|
20
|
+
marginBottom: "4px"
|
|
21
|
+
}, children: i }),
|
|
22
|
+
/* @__PURE__ */ r(p, { color: o, children: n })
|
|
23
|
+
] }), k = l(s).withConfig({
|
|
24
|
+
displayName: "styled__StyledSearchBlock"
|
|
25
|
+
})(["&& .input-wrapper{padding-block:12px;padding-inline:10px;border-radius:8px;}"]), u = l(m).withConfig({
|
|
26
|
+
displayName: "styled__StyledClearBtn"
|
|
27
|
+
})(["background-color:transparent;height:100%;width:24px !important;color:", ";&:hover{background-color:transparent;color:", ";}"], () => o, () => o);
|
|
50
28
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
29
|
+
S as EmptySearchFallback,
|
|
30
|
+
u as StyledClearBtn,
|
|
31
|
+
k as StyledSearchBlock
|
|
54
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),l=require("../../../constants/index.cjs"),a=require("@salutejs/sdds-finai"),u=require("@salutejs/plasma-icons"),d={xl:"m",l:"m",m:"m",s:"m",xs:"s"},m={s:"xs",m:"s"},x=({value:n,onClear:e,size:i="s"})=>{if(!n||!e)return;const s=d[i]??"m",t=m[s]??"s";return r.jsx(a.EmbedIconButton,{size:s,onClick:e,view:"secondary",children:r.jsx(u.IconClose,{size:t})})},I=n=>{const e=n==="xs"?"xs":"s";return r.jsx(u.IconLockOutline,{size:e})},f=({disabled:n,readOnly:e,value:i,onClear:s,size:t,contentRight:o})=>{if(n)return I(t);if(e)return o;const c=x({value:i,onClear:s,size:t});return c&&o?r.jsxs("div",{style:{display:"flex",gap:l.s.x4,alignItems:"center"},children:[c,o]}):c||o};exports.getContentRight=f;
|