@ultraviolet/ui 3.20.3 → 3.21.1
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/README.md +3 -3
- package/dist/_virtual/{_@oxc-project_runtime@0.138.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/asyncToGenerator.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.138.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/defineProperty.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.138.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/extends.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.138.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/objectDestructuringEmpty.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.138.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/objectSpread2.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.138.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/objectWithoutProperties.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.138.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.138.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/toPrimitive.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.138.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/toPropertyKey.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.138.0 → _@oxc-project_runtime@0.139.0}/helpers/esm/typeof.js +1 -1
- package/dist/components/ActionBar/index.js +1 -1
- package/dist/components/Avatar/index.js +2 -2
- package/dist/components/Banner/index.js +1 -1
- package/dist/components/BarChart/index.js +1 -1
- package/dist/components/Breadcrumbs/components/Item.js +2 -2
- package/dist/components/Breadcrumbs/index.d.ts +2 -26
- package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js +3 -1
- package/dist/components/Carousel/Item.js +1 -1
- package/dist/components/Carousel/index.d.ts +2 -8
- package/dist/components/Carousel/index.d.ts.map +1 -1
- package/dist/components/CheckboxGroup/SingleCheckbox.js +1 -1
- package/dist/components/CheckboxGroup/index.d.ts +1 -23
- package/dist/components/CheckboxGroup/index.d.ts.map +1 -1
- package/dist/components/CheckboxGroup/index.js +1 -1
- package/dist/components/Chip/ChipIcon.js +1 -1
- package/dist/components/Chip/index.d.ts +2 -8
- package/dist/components/Chip/index.d.ts.map +1 -1
- package/dist/components/Chip/index.js +1 -1
- package/dist/components/DateInput/components/CalendarContent.js +1 -1
- package/dist/components/DateInput/components/CalendarDaily.js +1 -1
- package/dist/components/DateInput/components/CalendarMonthly.js +1 -1
- package/dist/components/DateInput/components/Popup.js +1 -1
- package/dist/components/DateInput/index.js +3 -2
- package/dist/components/Dialog/index.d.ts +13 -99
- package/dist/components/Dialog/index.d.ts.map +1 -1
- package/dist/components/Dialog/index.js +1 -1
- package/dist/components/Drawer/index.d.ts +3 -10
- package/dist/components/Drawer/index.d.ts.map +1 -1
- package/dist/components/Drawer/index.js +1 -1
- package/dist/components/EmptyState/index.js +1 -1
- package/dist/components/Expandable/AnimatedExpandable.js +1 -1
- package/dist/components/Expandable/NonAnimatedExpandable.js +1 -1
- package/dist/components/ExpandableCard/index.d.ts +2 -4
- package/dist/components/ExpandableCard/index.d.ts.map +1 -1
- package/dist/components/ExpandableCard/index.js +1 -1
- package/dist/components/FileInput/components/Button.js +3 -4
- package/dist/components/FileInput/components/List.js +1 -1
- package/dist/components/FileInput/helpers.js +1 -1
- package/dist/components/FileInput/index.d.ts +11 -10
- package/dist/components/FileInput/index.d.ts.map +1 -1
- package/dist/components/FileInput/index.js +4 -4
- package/dist/components/GlobalAlert/index.d.ts +2 -63
- package/dist/components/GlobalAlert/index.d.ts.map +1 -1
- package/dist/components/GlobalAlert/index.js +1 -1
- package/dist/components/InfiniteScroll/index.js +1 -1
- package/dist/components/Key/styles.css.d.ts.map +1 -1
- package/dist/components/LineChart/CustomLegend.js +1 -1
- package/dist/components/LineChart/index.js +1 -1
- package/dist/components/List/Cell.js +2 -2
- package/dist/components/List/ExpandButtonCell.js +1 -1
- package/dist/components/List/HeaderRow.js +1 -1
- package/dist/components/List/ListContext.js +3 -3
- package/dist/components/List/Row.js +1 -1
- package/dist/components/List/SelectRowCell.js +1 -1
- package/dist/components/List/SkeletonRows.js +1 -1
- package/dist/components/List/TableContainer.js +1 -1
- package/dist/components/List/index.js +1 -1
- package/dist/components/Loader/index.js +1 -1
- package/dist/components/Menu/index.d.ts +2 -10
- package/dist/components/Menu/index.d.ts.map +1 -1
- package/dist/components/Menu/index.js +2 -2
- package/dist/components/Modal/components/Dialog.js +1 -1
- package/dist/components/Notification/Notification.js +1 -1
- package/dist/components/PieChart/index.js +2 -2
- package/dist/components/Popup/index.js +1 -1
- package/dist/components/RadioGroup/SingleRadio.js +1 -1
- package/dist/components/RadioGroup/index.js +1 -1
- package/dist/components/Row/index.d.ts +1 -1
- package/dist/components/Row/index.d.ts.map +1 -1
- package/dist/components/Row/index.js +1 -1
- package/dist/components/SelectInput/SelectInputProvider.d.ts +1 -0
- package/dist/components/SelectInput/SelectInputProvider.d.ts.map +1 -1
- package/dist/components/SelectInput/SelectInputProvider.js +4 -5
- package/dist/components/SelectInput/components/Dropdown/Content.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/Content.js +3 -3
- package/dist/components/SelectInput/components/Dropdown/Dropdown.js +1 -1
- package/dist/components/SelectInput/components/Dropdown/Group.d.ts +1 -1
- package/dist/components/SelectInput/components/Dropdown/Group.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/Group.js +3 -2
- package/dist/components/SelectInput/components/Dropdown/SearchBar.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/SearchBar.js +10 -5
- package/dist/components/SelectInput/components/Dropdown/SelectAll.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/SelectAll.js +14 -20
- package/dist/components/SelectInput/components/Dropdown/dropdown.css.d.ts +1 -1
- package/dist/components/SelectInput/components/Dropdown/dropdown.css.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/dropdown.css.js +4 -4
- package/dist/components/SelectInput/reducerFunctions.d.ts +3 -8
- package/dist/components/SelectInput/reducerFunctions.d.ts.map +1 -1
- package/dist/components/SelectInput/reducerFunctions.js +4 -14
- package/dist/components/SelectInput/styles.css.d.ts +1 -1
- package/dist/components/SelectInput/styles.css.js +6 -6
- package/dist/components/SelectInput/types.d.ts +0 -1
- package/dist/components/SelectInput/types.d.ts.map +1 -1
- package/dist/components/SelectableCard/MultiStateInput.js +2 -2
- package/dist/components/SelectableCard/SelectableCard.js +1 -1
- package/dist/components/SelectableCardGroup/index.js +1 -1
- package/dist/components/SelectableCardOptionGroup/SelectableCardOptionGroup.js +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Option.js +2 -2
- package/dist/components/Skeleton/index.d.ts +16 -21
- package/dist/components/Skeleton/index.d.ts.map +1 -1
- package/dist/components/Slider/components/DoubleSlider.js +1 -1
- package/dist/components/Slider/components/Options.js +1 -1
- package/dist/components/Slider/components/SingleSlider.js +2 -2
- package/dist/components/Snippet/index.d.ts.map +1 -1
- package/dist/components/Snippet/index.js +2 -3
- package/dist/components/Stack/index.d.ts +1 -1
- package/dist/components/Stack/index.d.ts.map +1 -1
- package/dist/components/Stack/index.js +3 -4
- package/dist/components/Status/styles.css.d.ts.map +1 -1
- package/dist/components/StepList/Item.js +1 -1
- package/dist/components/StepList/index.d.ts +2 -14
- package/dist/components/StepList/index.d.ts.map +1 -1
- package/dist/components/Stepper/Bullet.js +1 -1
- package/dist/components/Stepper/Step.js +1 -1
- package/dist/components/Stepper/index.d.ts +2 -13
- package/dist/components/Stepper/index.d.ts.map +1 -1
- package/dist/components/Stepper/index.js +2 -2
- package/dist/components/SwitchButton/FocusOverlay.js +1 -1
- package/dist/components/SwitchButton/index.d.ts +2 -11
- package/dist/components/SwitchButton/index.d.ts.map +1 -1
- package/dist/components/SwitchButton/index.js +1 -1
- package/dist/components/Table/Cell.js +2 -2
- package/dist/components/Table/Row.js +1 -1
- package/dist/components/Table/TableContainer.js +1 -1
- package/dist/components/Table/TableContext.js +4 -7
- package/dist/components/Table/index.d.ts +10 -48
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Tabs/Tab.js +4 -5
- package/dist/components/Tabs/TabMenu.js +3 -4
- package/dist/components/Tabs/TabMenuItem.js +4 -5
- package/dist/components/Tabs/index.d.ts +7 -41
- package/dist/components/Tabs/index.d.ts.map +1 -1
- package/dist/components/Tabs/index.js +4 -5
- package/dist/components/Tabs/styles.css.d.ts.map +1 -1
- package/dist/components/TagInput/index.js +2 -2
- package/dist/components/TagList/index.js +2 -2
- package/dist/components/Text/constants.d.ts +2 -0
- package/dist/components/Text/constants.d.ts.map +1 -1
- package/dist/components/Text/index.js +1 -1
- package/dist/components/Text/style.css.d.ts.map +1 -1
- package/dist/components/TextArea/index.d.ts +1 -1
- package/dist/components/TextArea/index.d.ts.map +1 -1
- package/dist/components/TextArea/index.js +26 -31
- package/dist/components/TextArea/styles.css.d.ts +0 -3
- package/dist/components/TextArea/styles.css.d.ts.map +1 -1
- package/dist/components/TimeInput/index.js +2 -2
- package/dist/components/Toaster/Toaster.js +1 -1
- package/dist/components/Toaster/components/Button.js +3 -4
- package/dist/components/Toaster/components/Link.js +3 -3
- package/dist/components/Toaster/index.d.ts +4 -2
- package/dist/components/Toaster/index.d.ts.map +1 -1
- package/dist/components/ToggleGroup/index.js +1 -1
- package/dist/components/TreeMapChart/index.js +2 -2
- package/dist/components/UnitInput/index.js +1 -1
- package/dist/components/index.js +15 -15
- package/dist/components/styles.js +90 -90
- package/dist/composition.js +30 -30
- package/dist/compositions/Conversation/index.d.ts +8 -32
- package/dist/compositions/Conversation/index.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Item.js +1 -1
- package/dist/compositions/EstimateCost/Components/LineThrough.js +3 -4
- package/dist/compositions/EstimateCost/Components/Unit.js +1 -1
- package/dist/compositions/EstimateCost/EstimateCostProvider.js +1 -1
- package/dist/compositions/EstimateCost/Image.js +1 -1
- package/dist/compositions/EstimateCost/index.d.ts +21 -167
- package/dist/compositions/EstimateCost/index.d.ts.map +1 -1
- package/dist/compositions/FAQ/index.js +1 -1
- package/dist/compositions/Filters/filterTypes/FilterDateRange.d.ts +9 -0
- package/dist/compositions/Filters/filterTypes/FilterDateRange.d.ts.map +1 -0
- package/dist/compositions/Filters/filterTypes/FilterDateRange.js +36 -0
- package/dist/compositions/Filters/filterTypes/FilterMultiSelect.d.ts.map +1 -1
- package/dist/compositions/Filters/filterTypes/FilterMultiSelect.js +2 -1
- package/dist/compositions/Filters/filterTypes/FilterSelect.d.ts +1 -1
- package/dist/compositions/Filters/filterTypes/FilterSelect.d.ts.map +1 -1
- package/dist/compositions/Filters/filterTypes/FilterSelect.js +3 -2
- package/dist/compositions/Filters/filterTypes/FilterSlider.js +1 -1
- package/dist/compositions/Filters/index.d.ts +1 -1
- package/dist/compositions/Filters/index.d.ts.map +1 -1
- package/dist/compositions/Filters/parts/AbstractFilter.d.ts.map +1 -1
- package/dist/compositions/Filters/parts/AbstractFilter.js +7 -3
- package/dist/compositions/Filters/parts/FiltersDrawer.d.ts.map +1 -1
- package/dist/compositions/Filters/parts/FiltersDrawer.js +2 -4
- package/dist/compositions/Filters/parts/reducer.js +1 -1
- package/dist/compositions/Filters/parts/useFilters.js +1 -1
- package/dist/compositions/Filters/types.d.ts +24 -1
- package/dist/compositions/Filters/types.d.ts.map +1 -1
- package/dist/compositions/InfoTable/components/Row.js +1 -1
- package/dist/compositions/InfoTable/index.d.ts +13 -21
- package/dist/compositions/InfoTable/index.d.ts.map +1 -1
- package/dist/compositions/InfoTable/styles.css.js +83 -83
- package/dist/compositions/Navigation/NavigationProvider.d.ts.map +1 -1
- package/dist/compositions/Navigation/NavigationProvider.js +1 -1
- package/dist/compositions/Navigation/index.d.ts +11 -59
- package/dist/compositions/Navigation/index.d.ts.map +1 -1
- package/dist/compositions/OfferList/components/SelectableCell.js +1 -1
- package/dist/compositions/OfferList/index.d.ts +5 -39
- package/dist/compositions/OfferList/index.d.ts.map +1 -1
- package/dist/compositions/OptionSelector/styles.css.js +83 -83
- package/dist/compositions/OrderSummary/helpers.js +1 -1
- package/dist/compositions/Plans/PlanHeader.d.ts +1 -1
- package/dist/compositions/Plans/PlanHeader.d.ts.map +1 -1
- package/dist/compositions/RichTextInput/index.js +1 -1
- package/dist/compositions/SteppedListCard/index.d.ts +2 -11
- package/dist/compositions/SteppedListCard/index.d.ts.map +1 -1
- package/dist/index.js +70 -70
- package/dist/mocks/list.d.ts +1 -1
- package/dist/mocks/list.d.ts.map +1 -1
- package/dist/theme/ThemeProvider.d.ts +11 -0
- package/dist/theme/ThemeProvider.d.ts.map +1 -1
- package/dist/theme/ThemeProvider.js +2 -7
- package/dist/theme/index.d.ts +27 -2
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +13 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAGjC,QAAA,MAAM,QAAQ;aACZ,KAAK;aACL,MAAM;aACN,GAAG;aACH,KAAK;aACL,IAAI;aACJ,IAAI;aACJ,MAAM;aACN,MAAM;CACE,CAAA;AAEV,KAAK,eAAe,GAAG,MAAM,OAAO,QAAQ,CAAA;AAE5C,KAAK,aAAa,GAAG;IACnB,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;iCAOwB,EACvB,OAAkB,EAClB,MAAM,EACN,GAAG,EACH,SAAS,EACT,YAAY,EAAE,SAAS,EACvB,aAAa,EAAE,UAAU,EACzB,KAAK,GACN,EAAE,aAAa;;;;AAqBhB,eAAO,MAAM,aAAa,EAA4B,eAAe,EAAE,CAAA"}
|
|
@@ -5,8 +5,8 @@ import { Tooltip, init_Tooltip } from "../../Tooltip/index.js";
|
|
|
5
5
|
import { Text, init_Text } from "../../Text/index.js";
|
|
6
6
|
import { Label, init_Label } from "../../Label/index.js";
|
|
7
7
|
import { NumberInput, init_NumberInput } from "../../NumberInput/index.js";
|
|
8
|
-
import { init_constant } from "../constant.js";
|
|
9
8
|
import { init_styles_css, leftVar, sliderStyle, thumbColor, tooltipLeft } from "../styles.css.js";
|
|
9
|
+
import { init_constant } from "../constant.js";
|
|
10
10
|
import { Options, init_Options } from "./Options.js";
|
|
11
11
|
import { useCallback, useEffect, useId, useMemo, useRef, useState } from "react";
|
|
12
12
|
import { useTheme } from "@ultraviolet/themes";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
3
|
import { Text, init_Text } from "../../Text/index.js";
|
|
4
|
-
import { init_constant } from "../constant.js";
|
|
5
4
|
import { init_styles_css, leftOption, sliderStyle } from "../styles.css.js";
|
|
5
|
+
import { init_constant } from "../constant.js";
|
|
6
6
|
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import _objectSpread2, { init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import _objectSpread2, { init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
4
4
|
import { Stack, init_Stack } from "../../Stack/index.js";
|
|
5
5
|
import { Tooltip, init_Tooltip } from "../../Tooltip/index.js";
|
|
6
6
|
import { Text, init_Text } from "../../Text/index.js";
|
|
7
7
|
import { Label, init_Label } from "../../Label/index.js";
|
|
8
8
|
import { NumberInput, init_NumberInput } from "../../NumberInput/index.js";
|
|
9
|
-
import { init_constant } from "../constant.js";
|
|
10
9
|
import { init_styles_css, leftVar, sliderStyle, thumbColor, tooltipLeft } from "../styles.css.js";
|
|
10
|
+
import { init_constant } from "../constant.js";
|
|
11
11
|
import { Options, init_Options } from "./Options.js";
|
|
12
12
|
import { useCallback, useEffect, useId, useMemo, useRef, useState } from "react";
|
|
13
13
|
import { useTheme } from "@ultraviolet/themes";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Snippet/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Snippet/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGrE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAO1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAK7C,KAAK,YAAY,GAAG;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,QAAQ,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gBAAgB,CAAC,EAAE,SAAS,CAAA;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC,CAAA;gCAM9C,EACtB,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,QAAiB,EACjB,QAAiB,EACjB,MAAM,EACN,SAAS,EACT,aAAa,EAAE,UAAU,EACzB,iBAAiB,EACjB,IAAQ,EACR,YAAoB,EACpB,MAAM,EACN,KAAK,EACL,MAAM,EACN,KAAK,EACL,gBAAgB,EAChB,kBAAkB,EAAE,eAAe,GACpC,EAAE,YAAY"}
|
|
@@ -6,11 +6,11 @@ import { hasHelperText, init_hasHelperText } from "../../helpers/hasHelperText.j
|
|
|
6
6
|
import { Description, init_Description } from "../Description/index.js";
|
|
7
7
|
import { Label, init_Label } from "../Label/index.js";
|
|
8
8
|
import { Expandable, init_Expandable } from "../Expandable/index.js";
|
|
9
|
-
import { CopyButton, init_CopyButton } from "../CopyButton/index.js";
|
|
10
|
-
import { init_ThemeProvider, useTheme } from "../../theme/ThemeProvider.js";
|
|
11
9
|
import { init_styles_css, snippetStyle } from "./styles.css.js";
|
|
10
|
+
import { CopyButton, init_CopyButton } from "../CopyButton/index.js";
|
|
12
11
|
import { CodeContent, init_CodeContent } from "./CodeContent.js";
|
|
13
12
|
import { useId, useReducer } from "react";
|
|
13
|
+
import { useTheme } from "@ultraviolet/themes";
|
|
14
14
|
import { cn } from "@ultraviolet/utils";
|
|
15
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
16
|
import { ArrowDownIcon } from "@ultraviolet/icons/ArrowDownIcon";
|
|
@@ -19,7 +19,6 @@ import { ArrowDownIcon } from "@ultraviolet/icons/ArrowDownIcon";
|
|
|
19
19
|
var LINES_BREAK_REGEX, Snippet;
|
|
20
20
|
var init_Snippet = __esmMin(() => {
|
|
21
21
|
init_hasHelperText();
|
|
22
|
-
init_ThemeProvider();
|
|
23
22
|
init_CopyButton();
|
|
24
23
|
init_Description();
|
|
25
24
|
init_Expandable();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { UltravioletUITheme } from '@ultraviolet/themes';
|
|
1
2
|
import type { CSSProperties, ElementType, ReactElement } from 'react';
|
|
2
|
-
import type { UltravioletUITheme } from '../../theme';
|
|
3
3
|
import type { PolymorphicComponentProps } from './types';
|
|
4
4
|
import type { AlignItemsType, JustifyContentType } from './styles.css';
|
|
5
5
|
type ResponsiveProp<T> = T | Partial<Record<keyof UltravioletUITheme['breakpoints'], T>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Stack/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Stack/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAI7D,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAqB,YAAY,EAAE,MAAM,OAAO,CAAA;AACxF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAExD,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AAGtE,KAAK,cAAc,CAAC,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,kBAAkB,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC,CAAC,CAAA;AAGxF,KAAK,QAAQ,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,MAAM,EAAE,GAAG,CAAC,GAAG,KAAK,CAAA;AAsBnF,KAAK,aAAa,GAAG;IACnB,GAAG,CAAC,EAAE,cAAc,CAAC,MAAM,kBAAkB,CAAC,OAAO,CAAC,GAAG,QAAQ,CAAC,MAAM,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;IACrG,SAAS,CAAC,EAAE,cAAc,CAAC,KAAK,GAAG,QAAQ,GAAG,aAAa,GAAG,gBAAgB,CAAC,CAAA;IAC/E,UAAU,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAA;IAC3C,cAAc,CAAC,EAAE,cAAc,CAAC,kBAAkB,CAAC,CAAA;IACnD,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,aAAa,CAAC,UAAU,CAAC,CAAC,CAAA;IAC1D,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAA;IAC9B,QAAQ,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAA;IACpC,QAAQ,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAA;IACpC,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAA;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,IAAI,yBAAyB,CAAC,CAAC,EAAE,aAAa,CAAC,CAAA;AAoFnG,eAAO,MAAM,KAAK,EAAa,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,YAAY,CAAA"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
3
|
import { init_styles_css, sprinkles, stackStyle } from "./styles.css.js";
|
|
4
4
|
import { flexVar, init_variables_css, maxWidthVar, minWidthVar, widthVar } from "./variables.css.js";
|
|
5
|
-
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
6
|
-
import _objectWithoutProperties, { init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.
|
|
5
|
+
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
6
|
+
import _objectWithoutProperties, { init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectWithoutProperties.js";
|
|
7
7
|
import { forwardRef, useMemo } from "react";
|
|
8
8
|
import { consoleLightTheme } from "@ultraviolet/themes";
|
|
9
9
|
import { cn } from "@ultraviolet/utils";
|
|
@@ -36,8 +36,7 @@ var init_Stack = __esmMin(() => {
|
|
|
36
36
|
];
|
|
37
37
|
mapRepsonsiveGap = (object) => object ? Object.keys(object).reduce((acc, key) => _objectSpread2(_objectSpread2({}, acc), {}, { [key]: consoleLightTheme.space[object[key]] }), {}) : {};
|
|
38
38
|
IStack = forwardRef((_ref, ref) => {
|
|
39
|
-
let { gap, direction = "column", alignItems, justifyContent, wrap, className, children, id, "data-testid": dataTestId, width, maxWidth, minWidth, flex, as, style } = _ref;
|
|
40
|
-
let props = _objectWithoutProperties(_ref, _excluded);
|
|
39
|
+
let { gap, direction = "column", alignItems, justifyContent, wrap, className, children, id, "data-testid": dataTestId, width, maxWidth, minWidth, flex, as, style } = _ref, props = _objectWithoutProperties(_ref, _excluded);
|
|
41
40
|
const wrapValue = useMemo(() => {
|
|
42
41
|
if (typeof wrap === "boolean") return wrap ? "wrap" : "nowrap";
|
|
43
42
|
if (typeof wrap === "object") return Object.keys(wrap).reduce((acc, key) => _objectSpread2(_objectSpread2({}, acc), {}, { [key]: wrap[key] ? "wrap" : "nowrap" }), {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Status/styles.css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Status/styles.css.ts"],"names":[],"mappings":"AA+DA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;CAAqC,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { Bullet, init_Bullet } from "../Bullet/index.js";
|
|
4
3
|
import { init_styles_css, stepListStyle } from "./styles.css.js";
|
|
4
|
+
import { Bullet, init_Bullet } from "../Bullet/index.js";
|
|
5
5
|
import { cn } from "@ultraviolet/utils";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { Item } from './Item';
|
|
2
3
|
type StepListProps = {
|
|
3
4
|
children: ReactNode;
|
|
4
5
|
className?: string;
|
|
@@ -8,20 +9,7 @@ type StepListProps = {
|
|
|
8
9
|
export declare function StepList({ children, className, style, 'data-testid': dataTestId }: StepListProps): import("react").JSX.Element;
|
|
9
10
|
export declare namespace StepList {
|
|
10
11
|
var displayName: string;
|
|
11
|
-
|
|
12
|
-
({ bulletContent, sentiment, prominence, children, onClick, onKeyDown, size, disabled, className, }: {
|
|
13
|
-
sentiment?: import("react").ComponentProps<typeof import("..").Bullet>['sentiment'];
|
|
14
|
-
prominence?: import("react").ComponentProps<typeof import("..").Bullet>['prominence'];
|
|
15
|
-
size?: import("./Item").Sizes;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
children: ReactNode;
|
|
18
|
-
onClick?: () => void;
|
|
19
|
-
onKeyDown?: () => void;
|
|
20
|
-
className?: string;
|
|
21
|
-
bulletContent?: ReactNode;
|
|
22
|
-
}): import("react").JSX.Element;
|
|
23
|
-
displayName: string;
|
|
24
|
-
};
|
|
12
|
+
export { Item };
|
|
25
13
|
}
|
|
26
14
|
export {};
|
|
27
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StepList/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StepList/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAG7B,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,SAAS,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;iCAMwB,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,EAAE,aAAa"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { init_styles_css, stepperStyle } from "./styles.css.js";
|
|
2
3
|
import { Bullet, init_Bullet as init_Bullet$1 } from "../Bullet/index.js";
|
|
3
4
|
import { init_StepperProvider, useStepper } from "./StepperProvider.js";
|
|
4
|
-
import { init_styles_css, stepperStyle } from "./styles.css.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { CheckIcon } from "@ultraviolet/icons/CheckIcon";
|
|
7
7
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
3
|
import { Stack, init_Stack } from "../Stack/index.js";
|
|
4
4
|
import { Text, init_Text } from "../Text/index.js";
|
|
5
|
-
import { init_StepperProvider, useStepper } from "./StepperProvider.js";
|
|
6
5
|
import { init_styles_css, stepperStyle } from "./styles.css.js";
|
|
6
|
+
import { init_StepperProvider, useStepper } from "./StepperProvider.js";
|
|
7
7
|
import { StepBullet, init_Bullet } from "./Bullet.js";
|
|
8
8
|
import { useMemo } from "react";
|
|
9
9
|
import { cn } from "@ultraviolet/utils";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { Step } from './Step';
|
|
2
3
|
type StepperProps = {
|
|
3
4
|
animated?: boolean;
|
|
4
5
|
/**
|
|
@@ -20,19 +21,7 @@ type StepperProps = {
|
|
|
20
21
|
export declare function Stepper({ children, interactive, selected, animated, className, labelPosition, size, 'data-testid': dataTestId, separator, style, }: StepperProps): import("react").JSX.Element;
|
|
21
22
|
export declare namespace Stepper {
|
|
22
23
|
var displayName: string;
|
|
23
|
-
|
|
24
|
-
({ index, onClick, disabled, title, children, className, style, 'data-testid': dataTestId, }: {
|
|
25
|
-
onClick?: (index: number) => void;
|
|
26
|
-
index?: number;
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
title?: ReactNode;
|
|
29
|
-
children?: ReactNode;
|
|
30
|
-
className?: string;
|
|
31
|
-
'data-testid'?: string;
|
|
32
|
-
style?: CSSProperties;
|
|
33
|
-
}): import("react").JSX.Element;
|
|
34
|
-
displayName: string;
|
|
35
|
-
};
|
|
24
|
+
export { Step };
|
|
36
25
|
}
|
|
37
26
|
export {};
|
|
38
27
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAI7B,KAAK,YAAY,GAAG;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,SAAS,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;IAClC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IACzB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;gCAEuB,EACtB,QAAQ,EACR,WAAmB,EACnB,QAAY,EACZ,QAAgB,EAChB,SAAS,EACT,aAAwB,EACxB,IAAe,EACf,aAAa,EAAE,UAAU,EACzB,SAAgB,EAChB,KAAK,GACN,EAAE,YAAY"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import { StepperProvider, init_StepperProvider } from "./StepperProvider.js";
|
|
3
|
+
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
5
4
|
import { init_styles_css, stepperStyle } from "./styles.css.js";
|
|
5
|
+
import { StepperProvider, init_StepperProvider } from "./StepperProvider.js";
|
|
6
6
|
import { Step, init_Step } from "./Step.js";
|
|
7
7
|
import { Children, Fragment, isValidElement } from "react";
|
|
8
8
|
import { cn } from "@ultraviolet/utils";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { init_constant } from "./constant.js";
|
|
4
3
|
import { init_styles_css, switchButtonStyle } from "./styles.css.js";
|
|
4
|
+
import { init_constant } from "./constant.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/SwitchButton/FocusOverlay.tsx
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ChangeEventHandler, CSSProperties, FocusEventHandler, ReactNode } from 'react';
|
|
2
|
+
import { Option } from './Option';
|
|
2
3
|
type SwitchButtonProps = {
|
|
3
4
|
name?: string;
|
|
4
5
|
children: ReactNode;
|
|
@@ -16,17 +17,7 @@ type SwitchButtonProps = {
|
|
|
16
17
|
export declare function SwitchButton({ value, onChange, onFocus, onBlur, name, size, sentiment, tooltip, className, children, 'data-testid': dataTestId, style, }: SwitchButtonProps): import("react").JSX.Element;
|
|
17
18
|
export declare namespace SwitchButton {
|
|
18
19
|
var displayName: string;
|
|
19
|
-
|
|
20
|
-
({ value, children, 'data-testid': dataTestId, disabled, tooltip, style }: {
|
|
21
|
-
value: string;
|
|
22
|
-
children: ReactNode;
|
|
23
|
-
'data-testid'?: string;
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
tooltip?: string;
|
|
26
|
-
style?: CSSProperties;
|
|
27
|
-
}): import("react").JSX.Element;
|
|
28
|
-
displayName: string;
|
|
29
|
-
};
|
|
20
|
+
export { Option };
|
|
30
21
|
}
|
|
31
22
|
export {};
|
|
32
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SwitchButton/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAe,kBAAkB,EAAE,aAAa,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SwitchButton/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAe,kBAAkB,EAAE,aAAa,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKzG,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAKjC,KAAK,iBAAiB,GAAG;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,SAAS,CAAA;IACnB,MAAM,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,CAAA;IAC5C,QAAQ,EAAE,kBAAkB,CAAC,gBAAgB,CAAC,CAAA;IAC9C,OAAO,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,CAAA;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IACzB,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;IACjC,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;qCAK4B,EAC3B,KAAK,EACL,QAAQ,EACR,OAAO,EACP,MAAM,EACN,IAAI,EACJ,IAAc,EACd,SAAqB,EACrB,OAAO,EACP,SAAS,EACT,QAAQ,EACR,aAAa,EAAE,UAAU,EACzB,KAAK,GACN,EAAE,iBAAiB"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
3
|
import { Stack, init_Stack } from "../Stack/index.js";
|
|
4
4
|
import { Tooltip, init_Tooltip } from "../Tooltip/index.js";
|
|
5
|
-
import { init_constant } from "./constant.js";
|
|
6
5
|
import { init_styles_css, switchButtonStyle } from "./styles.css.js";
|
|
6
|
+
import { init_constant } from "./constant.js";
|
|
7
7
|
import { FocusOverlay, init_FocusOverlay } from "./FocusOverlay.js";
|
|
8
8
|
import { SwitchButtonContext, init_SwitchButtonContext } from "./SwitchButtonContext.js";
|
|
9
9
|
import { Option, init_Option } from "./Option.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import { init_ColumnProvider, useColumnProvider } from "../List/ColumnProvider.js";
|
|
3
|
+
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
5
4
|
import { init_styles_css, tableStyle } from "./styles.css.js";
|
|
5
|
+
import { init_ColumnProvider, useColumnProvider } from "../List/ColumnProvider.js";
|
|
6
6
|
import { init_variables_css, maxWidthCell, minWidthCell, widthCell } from "./variables.css.js";
|
|
7
7
|
import { cn } from "@ultraviolet/utils";
|
|
8
8
|
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
@@ -3,9 +3,9 @@ import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
|
3
3
|
import { Tooltip, init_Tooltip } from "../Tooltip/index.js";
|
|
4
4
|
import { Button, init_Button } from "../Button/index.js";
|
|
5
5
|
import { Checkbox, init_Checkbox } from "../Checkbox/index.js";
|
|
6
|
-
import { ColumnProvider, init_ColumnProvider } from "../List/ColumnProvider.js";
|
|
7
6
|
import { init_styles_css, listStyle } from "../List/styles.css.js";
|
|
8
7
|
import { init_styles_css as init_styles_css$1, tableStyle } from "./styles.css.js";
|
|
8
|
+
import { ColumnProvider, init_ColumnProvider } from "../List/ColumnProvider.js";
|
|
9
9
|
import { Cell, init_Cell } from "./Cell.js";
|
|
10
10
|
import { init_TableContext, useTableContext } from "./TableContext.js";
|
|
11
11
|
import { Children, useCallback, useEffect, useRef } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { init_ListContext, useListContext } from "../List/ListContext.js";
|
|
4
3
|
import { init_styles_css, listStyle } from "../List/styles.css.js";
|
|
4
|
+
import { init_ListContext, useListContext } from "../List/ListContext.js";
|
|
5
5
|
import { Children, useEffect, useState } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import _objectWithoutProperties, { init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
4
|
+
import _objectWithoutProperties, { init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectWithoutProperties.js";
|
|
5
5
|
import { ListProvider, init_ListContext, useListContext } from "../List/ListContext.js";
|
|
6
6
|
import { createContext, useContext, useEffect, useMemo } from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -21,9 +21,7 @@ var init_TableContext = __esmMin(() => {
|
|
|
21
21
|
];
|
|
22
22
|
TableContext = createContext(void 0);
|
|
23
23
|
Provider = ({ children, bordered, stripped, columns }) => {
|
|
24
|
-
const _useListContext = useListContext();
|
|
25
|
-
const { subscribeHandler } = _useListContext;
|
|
26
|
-
const listContext = _objectWithoutProperties(_useListContext, _excluded);
|
|
24
|
+
const _useListContext = useListContext(), { subscribeHandler } = _useListContext, listContext = _objectWithoutProperties(_useListContext, _excluded);
|
|
27
25
|
useEffect(subscribeHandler, [subscribeHandler]);
|
|
28
26
|
const value = useMemo(() => _objectSpread2(_objectSpread2({}, listContext), {}, {
|
|
29
27
|
bordered,
|
|
@@ -43,8 +41,7 @@ var init_TableContext = __esmMin(() => {
|
|
|
43
41
|
});
|
|
44
42
|
};
|
|
45
43
|
TableProvider = (_ref) => {
|
|
46
|
-
let { children, bordered, stripped, columns } = _ref;
|
|
47
|
-
let props = _objectWithoutProperties(_ref, _excluded2);
|
|
44
|
+
let { children, bordered, stripped, columns } = _ref, props = _objectWithoutProperties(_ref, _excluded2);
|
|
48
45
|
return /* @__PURE__ */ jsx(ListProvider, _objectSpread2(_objectSpread2({ columns: [] }, props), {}, { children: /* @__PURE__ */ jsx(Provider, _objectSpread2(_objectSpread2({
|
|
49
46
|
bordered,
|
|
50
47
|
columns,
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import type { CSSProperties } from 'react';
|
|
2
|
+
import { Body } from './Body';
|
|
3
|
+
import { Cell } from './Cell';
|
|
4
|
+
import { Row } from './Row';
|
|
5
|
+
import { SelectBar } from './SelectBar';
|
|
6
|
+
import { useTableContext } from './TableContext';
|
|
2
7
|
import type { TableProviderProps } from './TableContext';
|
|
3
8
|
import type { ColumnProps } from './types';
|
|
4
9
|
export declare const BaseTable: import("react").ForwardRefExoticComponent<Omit<TableProviderProps, "autoCollapse" | "bordered" | "columns" | "expandButton" | "loading" | "selectable" | "stripped"> & {
|
|
@@ -40,53 +45,10 @@ export declare const Table: import("react").ForwardRefExoticComponent<Omit<Table
|
|
|
40
45
|
highlightHeader?: boolean;
|
|
41
46
|
style?: CSSProperties;
|
|
42
47
|
} & import("react").RefAttributes<HTMLTableElement>> & {
|
|
43
|
-
Body:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
};
|
|
49
|
-
Cell: {
|
|
50
|
-
({ children, className, colSpan, rowSpan, sentiment, align, style }: {
|
|
51
|
-
children?: import("react").ReactNode;
|
|
52
|
-
className?: string;
|
|
53
|
-
colSpan?: number;
|
|
54
|
-
rowSpan?: number;
|
|
55
|
-
sentiment?: import("../../theme").Color;
|
|
56
|
-
align?: "center" | "left" | "right";
|
|
57
|
-
style?: CSSProperties;
|
|
58
|
-
}): import("react").JSX.Element;
|
|
59
|
-
displayName: string;
|
|
60
|
-
};
|
|
61
|
-
Row: {
|
|
62
|
-
({ children, className, id, selectDisabled, highlightAnimation, expandable, expanded, style, 'data-testid': dataTestid, }: {
|
|
63
|
-
children: import("react").ReactNode;
|
|
64
|
-
expandable?: import("react").ReactNode;
|
|
65
|
-
className?: string;
|
|
66
|
-
id: string;
|
|
67
|
-
'data-testid'?: string;
|
|
68
|
-
selectDisabled?: boolean | string;
|
|
69
|
-
highlightAnimation?: boolean;
|
|
70
|
-
expanded?: boolean;
|
|
71
|
-
style?: CSSProperties;
|
|
72
|
-
}): import("react").JSX.Element;
|
|
73
|
-
displayName: string;
|
|
74
|
-
};
|
|
75
|
-
SelectBar: {
|
|
76
|
-
<T>({ children, data, idKey, className }: {
|
|
77
|
-
className?: string;
|
|
78
|
-
children: (p: {
|
|
79
|
-
selectedItems: T[];
|
|
80
|
-
unselectAll: () => void;
|
|
81
|
-
}) => import("react").ReactNode;
|
|
82
|
-
data: T[];
|
|
83
|
-
idKey: keyof T;
|
|
84
|
-
}): import("react").JSX.Element | null;
|
|
85
|
-
displayName: string;
|
|
86
|
-
};
|
|
87
|
-
useTableContext: () => Omit<import("../List/ListContext").ListContextValue, "columns"> & {
|
|
88
|
-
stripped: boolean;
|
|
89
|
-
columns: ColumnProps[];
|
|
90
|
-
};
|
|
48
|
+
Body: typeof Body;
|
|
49
|
+
Cell: typeof Cell;
|
|
50
|
+
Row: typeof Row;
|
|
51
|
+
SelectBar: typeof SelectBar;
|
|
52
|
+
useTableContext: typeof useTableContext;
|
|
91
53
|
};
|
|
92
54
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Table/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Table/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAI7B,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAGvC,OAAO,EAAiB,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAC/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAgC1C,eAAO,MAAM,SAAS;iBAlBP,OAAO;IACpB;;OAEG;cACO,OAAO;eACN,OAAO;eACP,OAAO;iBACL,OAAO;IACpB;;OAEG;mBACY,OAAO;mBACP,OAAO;aACb,WAAW,EAAE;sBACJ,OAAO;YACjB,aAAa;oDAiEtB,CAAA;AAID;;GAEG;AACH,eAAO,MAAM,KAAK;iBAvFH,OAAO;IACpB;;OAEG;cACO,OAAO;eACN,OAAO;eACP,OAAO;iBACL,OAAO;IACpB;;OAEG;mBACY,OAAO;mBACP,OAAO;aACb,WAAW,EAAE;sBACJ,OAAO;YACjB,aAAa;;;;;;;CA8ErB,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { Body, init_Body } from "./Body.js";
|
|
4
3
|
import { init_styles_css, tableStyle } from "./styles.css.js";
|
|
4
|
+
import { Body, init_Body } from "./Body.js";
|
|
5
5
|
import { Cell, init_Cell } from "./Cell.js";
|
|
6
6
|
import { Header, init_Header } from "./Header.js";
|
|
7
7
|
import { HeaderCell, init_HeaderCell } from "./HeaderCell.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import _objectWithoutProperties, { init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
4
|
+
import _objectWithoutProperties, { init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectWithoutProperties.js";
|
|
5
5
|
import { Stack, init_Stack } from "../Stack/index.js";
|
|
6
6
|
import { Tooltip, init_Tooltip } from "../Tooltip/index.js";
|
|
7
7
|
import { Text, init_Text } from "../Text/index.js";
|
|
8
8
|
import { Badge, init_Badge } from "../Badge/index.js";
|
|
9
|
-
import { init_TabsContext, useTabsContext } from "./TabsContext.js";
|
|
10
9
|
import { init_styles_css, tabsStyle } from "./styles.css.js";
|
|
10
|
+
import { init_TabsContext, useTabsContext } from "./TabsContext.js";
|
|
11
11
|
import { forwardRef, useMemo } from "react";
|
|
12
12
|
import { cn } from "@ultraviolet/utils";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -37,8 +37,7 @@ var init_Tab = __esmMin(() => {
|
|
|
37
37
|
"value"
|
|
38
38
|
];
|
|
39
39
|
Tab = forwardRef((_ref, ref) => {
|
|
40
|
-
let { as, badge, children, className, counter, disabled = false, onClick, onKeyDown, subtitle, tooltip, value } = _ref;
|
|
41
|
-
let props = _objectWithoutProperties(_ref, _excluded);
|
|
40
|
+
let { as, badge, children, className, counter, disabled = false, onClick, onKeyDown, subtitle, tooltip, value } = _ref, props = _objectWithoutProperties(_ref, _excluded);
|
|
42
41
|
const { selected, onChange } = useTabsContext();
|
|
43
42
|
const computedAs = as !== null && as !== void 0 ? as : "button";
|
|
44
43
|
const ComputedComponent = as !== null && as !== void 0 ? as : "button";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import _objectWithoutProperties, { init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
4
|
+
import _objectWithoutProperties, { init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectWithoutProperties.js";
|
|
5
5
|
import { Menu, init_Menu } from "../Menu/index.js";
|
|
6
6
|
import { init_styles_css, tabsStyle } from "./styles.css.js";
|
|
7
7
|
import { forwardRef } from "react";
|
|
@@ -26,8 +26,7 @@ var init_TabMenu = __esmMin(() => {
|
|
|
26
26
|
"aria-selected"
|
|
27
27
|
];
|
|
28
28
|
TabMenu = forwardRef((_ref, ref) => {
|
|
29
|
-
let { children, disclosure, visible, id, disabled, className, "aria-selected": ariaSelected } = _ref;
|
|
30
|
-
let props = _objectWithoutProperties(_ref, _excluded);
|
|
29
|
+
let { children, disclosure, visible, id, disabled, className, "aria-selected": ariaSelected } = _ref, props = _objectWithoutProperties(_ref, _excluded);
|
|
31
30
|
return /* @__PURE__ */ jsx("div", {
|
|
32
31
|
className: tabsStyle.menuWrapper,
|
|
33
32
|
children: /* @__PURE__ */ jsx(Menu, {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import _objectWithoutProperties, { init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
4
|
+
import _objectWithoutProperties, { init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectWithoutProperties.js";
|
|
5
5
|
import { Menu, init_Menu } from "../Menu/index.js";
|
|
6
|
-
import { init_TabsContext, useTabsContext } from "./TabsContext.js";
|
|
7
6
|
import { init_styles_css, tabsStyle } from "./styles.css.js";
|
|
7
|
+
import { init_TabsContext, useTabsContext } from "./TabsContext.js";
|
|
8
8
|
import { useMemo } from "react";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
|
|
@@ -22,8 +22,7 @@ var init_TabMenuItem = __esmMin(() => {
|
|
|
22
22
|
"onClick"
|
|
23
23
|
];
|
|
24
24
|
TabMenuItem = (_ref) => {
|
|
25
|
-
let { value, children, onClick } = _ref;
|
|
26
|
-
let props = _objectWithoutProperties(_ref, _excluded);
|
|
25
|
+
let { value, children, onClick } = _ref, props = _objectWithoutProperties(_ref, _excluded);
|
|
27
26
|
const { selected, onChange } = useTabsContext();
|
|
28
27
|
const isSelected = useMemo(() => value !== void 0 && selected === value, [value, selected]);
|
|
29
28
|
return /* @__PURE__ */ jsx(Menu.Item, _objectSpread2(_objectSpread2({
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { Tab } from './Tab';
|
|
3
|
+
import { TabMenu } from './TabMenu';
|
|
4
|
+
import { TabMenuItem } from './TabMenuItem';
|
|
2
5
|
type TabsProps = {
|
|
3
6
|
selected?: string | number;
|
|
4
7
|
onChange: (data: string | number) => void;
|
|
@@ -9,46 +12,9 @@ type TabsProps = {
|
|
|
9
12
|
export declare function Tabs({ children, onChange, moreDisclosure, selected, className, 'data-testid': dataTestId, ...props }: TabsProps): import("react").JSX.Element;
|
|
10
13
|
export declare namespace Tabs {
|
|
11
14
|
var displayName: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
children?: ReactNode;
|
|
16
|
-
className?: string;
|
|
17
|
-
counter?: number | string;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
onClick?: import("react").MouseEventHandler<HTMLElement>;
|
|
20
|
-
onKeyDown?: import("react").KeyboardEventHandler<HTMLElement>;
|
|
21
|
-
subtitle?: string;
|
|
22
|
-
tooltip?: string;
|
|
23
|
-
value?: string | number;
|
|
24
|
-
style?: import("react").CSSProperties;
|
|
25
|
-
} & Omit<any, "as" | "badge" | "children" | "className" | "counter" | "disabled" | "role" | "tooltip" | "value">, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
26
|
-
var Menu: import("react").ForwardRefExoticComponent<{
|
|
27
|
-
children: ReactNode;
|
|
28
|
-
disclosure: ReactNode;
|
|
29
|
-
visible?: ComponentProps<typeof import("..").Menu>['visible'];
|
|
30
|
-
id?: ComponentProps<typeof import("..").Menu>['id'];
|
|
31
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "aria-disabled"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
32
|
-
var MenuItem: ({ value, children, onClick, ...props }: {
|
|
33
|
-
value?: string | number;
|
|
34
|
-
} & {
|
|
35
|
-
href?: HTMLAnchorElement['href'];
|
|
36
|
-
target?: HTMLAnchorElement['target'];
|
|
37
|
-
rel?: HTMLAnchorElement['rel'];
|
|
38
|
-
disabled?: boolean | undefined;
|
|
39
|
-
tooltip?: string | undefined;
|
|
40
|
-
className?: string | undefined;
|
|
41
|
-
children: ReactNode;
|
|
42
|
-
onClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
43
|
-
borderless?: boolean;
|
|
44
|
-
sentiment?: "danger" | "neutral" | "primary";
|
|
45
|
-
active?: boolean;
|
|
46
|
-
'data-testid'?: string;
|
|
47
|
-
searchText?: string;
|
|
48
|
-
style?: import("react").CSSProperties;
|
|
49
|
-
rightComponent?: ReactNode;
|
|
50
|
-
hideOnClick?: boolean | undefined;
|
|
51
|
-
} & import("react").RefAttributes<HTMLElement>) => import("react").JSX.Element;
|
|
15
|
+
export { Tab };
|
|
16
|
+
export { TabMenu as Menu };
|
|
17
|
+
export { TabMenuItem as MenuItem };
|
|
52
18
|
}
|
|
53
19
|
export {};
|
|
54
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAkB,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtE,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAI3C,KAAK,SAAS,GAAG;IACf,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC1B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAA;IACzC,cAAc,CAAC,EAAE,SAAS,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,GAAG,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC,CAAA;6BAOrC,EACnB,QAAe,EACf,QAAQ,EACR,cAAuB,EACvB,QAAQ,EACR,SAAS,EACT,aAAa,EAAE,UAAU,EACzB,GAAG,KAAK,EACT,EAAE,SAAS;;;;aAkFA,OAAO;aACH,WAAW"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import _objectWithoutProperties, { init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.
|
|
5
|
-
import { TabsContext, init_TabsContext } from "./TabsContext.js";
|
|
3
|
+
import _objectSpread2, { init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
|
|
4
|
+
import _objectWithoutProperties, { init_objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectWithoutProperties.js";
|
|
6
5
|
import { init_styles_css, tabsStyle } from "./styles.css.js";
|
|
6
|
+
import { TabsContext, init_TabsContext } from "./TabsContext.js";
|
|
7
7
|
import { Tab, init_Tab } from "./Tab.js";
|
|
8
8
|
import { TabMenu, init_TabMenu } from "./TabMenu.js";
|
|
9
9
|
import { TabMenuItem, init_TabMenuItem } from "./TabMenuItem.js";
|
|
@@ -31,8 +31,7 @@ var init_Tabs = __esmMin(() => {
|
|
|
31
31
|
];
|
|
32
32
|
SHADOW_THRESHOLD = 10;
|
|
33
33
|
Tabs = (_ref) => {
|
|
34
|
-
let { children = null, onChange, moreDisclosure = "More", selected, className, "data-testid": dataTestId } = _ref;
|
|
35
|
-
let props = _objectWithoutProperties(_ref, _excluded);
|
|
34
|
+
let { children = null, onChange, moreDisclosure = "More", selected, className, "data-testid": dataTestId } = _ref, props = _objectWithoutProperties(_ref, _excluded);
|
|
36
35
|
const tabsRef = useRef({});
|
|
37
36
|
const moreStaticRef = useRef(null);
|
|
38
37
|
const [displayMore, setDisplayMore] = useState(false);
|