@lmb-it/kitsconcerto-native 0.1.243 → 0.1.245
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/animations/index.cjs +25 -15
- package/animations/index.cjs.map +1 -1
- package/animations/index.js +25 -15
- package/animations/index.js.map +1 -1
- package/apps/mobile/src/Core/AutoComplete/index.cjs +105 -64
- package/apps/mobile/src/Core/AutoComplete/index.cjs.map +1 -1
- package/apps/mobile/src/Core/AutoComplete/index.js +106 -65
- package/apps/mobile/src/Core/AutoComplete/index.js.map +1 -1
- package/apps/mobile/src/Core/Dropdown/index.cjs +2 -0
- package/apps/mobile/src/Core/Dropdown/index.cjs.map +1 -1
- package/apps/mobile/src/Core/Dropdown/index.js +2 -0
- package/apps/mobile/src/Core/Dropdown/index.js.map +1 -1
- package/apps/mobile/src/Core/Trees/components/CoreToolbar.cjs +2 -0
- package/apps/mobile/src/Core/Trees/components/CoreToolbar.cjs.map +1 -1
- package/apps/mobile/src/Core/Trees/components/CoreToolbar.js +2 -0
- package/apps/mobile/src/Core/Trees/components/CoreToolbar.js.map +1 -1
- package/apps/mobile/src/Factory/ResponsiveElement.cjs +2 -0
- package/apps/mobile/src/Factory/ResponsiveElement.cjs.map +1 -1
- package/apps/mobile/src/Factory/ResponsiveElement.js +2 -0
- package/apps/mobile/src/Factory/ResponsiveElement.js.map +1 -1
- package/apps/mobile/src/Factory/helpers/cssVarMap.cjs +16 -0
- package/apps/mobile/src/Factory/helpers/cssVarMap.cjs.map +1 -1
- package/apps/mobile/src/Factory/helpers/cssVarMap.js +16 -0
- package/apps/mobile/src/Factory/helpers/cssVarMap.js.map +1 -1
- package/apps/mobile/src/Factory/helpers/style.cjs +17 -1
- package/apps/mobile/src/Factory/helpers/style.cjs.map +1 -1
- package/apps/mobile/src/Factory/helpers/style.js +17 -1
- package/apps/mobile/src/Factory/helpers/style.js.map +1 -1
- package/apps/mobile/src/Factory/useSeparator.cjs +1 -0
- package/apps/mobile/src/Factory/useSeparator.cjs.map +1 -1
- package/apps/mobile/src/Factory/useSeparator.js +1 -0
- package/apps/mobile/src/Factory/useSeparator.js.map +1 -1
- package/components/Accordion/accordion.cjs +2 -0
- package/components/Accordion/accordion.cjs.map +1 -1
- package/components/Accordion/accordion.js +2 -0
- package/components/Accordion/accordion.js.map +1 -1
- package/components/Badge/index.cjs +2 -0
- package/components/Badge/index.cjs.map +1 -1
- package/components/Badge/index.js +2 -0
- package/components/Badge/index.js.map +1 -1
- package/components/BottomTabBar/index.cjs +2 -0
- package/components/BottomTabBar/index.cjs.map +1 -1
- package/components/BottomTabBar/index.js +2 -0
- package/components/BottomTabBar/index.js.map +1 -1
- package/components/Button/Button.cjs +2 -0
- package/components/Button/Button.cjs.map +1 -1
- package/components/Button/Button.js +2 -0
- package/components/Button/Button.js.map +1 -1
- package/components/MessageComposer/index.cjs +2 -0
- package/components/MessageComposer/index.cjs.map +1 -1
- package/components/MessageComposer/index.js +2 -0
- package/components/MessageComposer/index.js.map +1 -1
- package/components/SegmentedControl/index.cjs +2 -0
- package/components/SegmentedControl/index.cjs.map +1 -1
- package/components/SegmentedControl/index.js +2 -0
- package/components/SegmentedControl/index.js.map +1 -1
- package/components/SkeletonText/index.cjs +2 -0
- package/components/SkeletonText/index.cjs.map +1 -1
- package/components/SkeletonText/index.js +2 -0
- package/components/SkeletonText/index.js.map +1 -1
- package/components/Tabs/index.cjs +2 -0
- package/components/Tabs/index.cjs.map +1 -1
- package/components/Tabs/index.js +2 -0
- package/components/Tabs/index.js.map +1 -1
- package/components/overlay/ConfirmDialog/index.cjs +146 -89
- package/components/overlay/ConfirmDialog/index.cjs.map +1 -1
- package/components/overlay/ConfirmDialog/index.js +147 -90
- package/components/overlay/ConfirmDialog/index.js.map +1 -1
- package/components/overlay/Dialog/index.cjs +90 -64
- package/components/overlay/Dialog/index.cjs.map +1 -1
- package/components/overlay/Dialog/index.js +91 -65
- package/components/overlay/Dialog/index.js.map +1 -1
- package/components/overlay/Toast/index.cjs +59 -24
- package/components/overlay/Toast/index.cjs.map +1 -1
- package/components/overlay/Toast/index.js +62 -27
- package/components/overlay/Toast/index.js.map +1 -1
- package/contexts/Locale/index.cjs +2 -0
- package/contexts/Locale/index.cjs.map +1 -1
- package/contexts/Locale/index.js +2 -0
- package/contexts/Locale/index.js.map +1 -1
- package/contexts/Main/index.cjs +2 -0
- package/contexts/Main/index.cjs.map +1 -1
- package/contexts/Main/index.js +2 -0
- package/contexts/Main/index.js.map +1 -1
- package/contexts/Theme/KitsThemeProvider.cjs +2 -0
- package/contexts/Theme/KitsThemeProvider.cjs.map +1 -1
- package/contexts/Theme/KitsThemeProvider.js +2 -0
- package/contexts/Theme/KitsThemeProvider.js.map +1 -1
- package/contexts/Theme/index.cjs +1 -0
- package/contexts/Theme/index.cjs.map +1 -1
- package/contexts/Theme/index.js +1 -0
- package/contexts/Theme/index.js.map +1 -1
- package/contexts/Theme/resolvers.cjs +4 -0
- package/contexts/Theme/resolvers.cjs.map +1 -1
- package/contexts/Theme/resolvers.js +4 -0
- package/contexts/Theme/resolvers.js.map +1 -1
- package/data/DataView/Pagination/index.cjs +2 -0
- package/data/DataView/Pagination/index.cjs.map +1 -1
- package/data/DataView/Pagination/index.js +2 -0
- package/data/DataView/Pagination/index.js.map +1 -1
- package/data/TreeView/index.cjs +2 -0
- package/data/TreeView/index.cjs.map +1 -1
- package/data/TreeView/index.js +2 -0
- package/data/TreeView/index.js.map +1 -1
- package/form/controls/Checkbox/checkbox.cjs +2 -0
- package/form/controls/Checkbox/checkbox.cjs.map +1 -1
- package/form/controls/Checkbox/checkbox.js +2 -0
- package/form/controls/Checkbox/checkbox.js.map +1 -1
- package/form/controls/RadioButton/radiobutton.cjs +2 -0
- package/form/controls/RadioButton/radiobutton.cjs.map +1 -1
- package/form/controls/RadioButton/radiobutton.js +2 -0
- package/form/controls/RadioButton/radiobutton.js.map +1 -1
- package/form/controls/SelectButton/index.cjs +2 -0
- package/form/controls/SelectButton/index.cjs.map +1 -1
- package/form/controls/SelectButton/index.js +2 -0
- package/form/controls/SelectButton/index.js.map +1 -1
- package/form/controls/TriStateCheckbox/index.cjs +2 -0
- package/form/controls/TriStateCheckbox/index.cjs.map +1 -1
- package/form/controls/TriStateCheckbox/index.js +2 -0
- package/form/controls/TriStateCheckbox/index.js.map +1 -1
- package/form/file-pickers/MainUploader/index.cjs +1 -0
- package/form/file-pickers/MainUploader/index.cjs.map +1 -1
- package/form/file-pickers/MainUploader/index.js +1 -0
- package/form/file-pickers/MainUploader/index.js.map +1 -1
- package/form/helpers/ErrorMessage/errormessage.cjs +2 -0
- package/form/helpers/ErrorMessage/errormessage.cjs.map +1 -1
- package/form/helpers/ErrorMessage/errormessage.js +2 -0
- package/form/helpers/ErrorMessage/errormessage.js.map +1 -1
- package/form/helpers/FormContainer/index.cjs +2 -0
- package/form/helpers/FormContainer/index.cjs.map +1 -1
- package/form/helpers/FormContainer/index.js +2 -0
- package/form/helpers/FormContainer/index.js.map +1 -1
- package/form/helpers/Label/label.cjs +2 -0
- package/form/helpers/Label/label.cjs.map +1 -1
- package/form/helpers/Label/label.js +2 -0
- package/form/helpers/Label/label.js.map +1 -1
- package/form/inputs/InputMask/index.cjs +2 -0
- package/form/inputs/InputMask/index.cjs.map +1 -1
- package/form/inputs/InputMask/index.js +2 -0
- package/form/inputs/InputMask/index.js.map +1 -1
- package/form/inputs/InputNumber/index.cjs +2 -0
- package/form/inputs/InputNumber/index.cjs.map +1 -1
- package/form/inputs/InputNumber/index.js +2 -0
- package/form/inputs/InputNumber/index.js.map +1 -1
- package/form/inputs/InputPassword/index.cjs +2 -0
- package/form/inputs/InputPassword/index.cjs.map +1 -1
- package/form/inputs/InputPassword/index.js +2 -0
- package/form/inputs/InputPassword/index.js.map +1 -1
- package/form/inputs/InputSwitch/index.cjs +2 -0
- package/form/inputs/InputSwitch/index.cjs.map +1 -1
- package/form/inputs/InputSwitch/index.js +2 -0
- package/form/inputs/InputSwitch/index.js.map +1 -1
- package/form/inputs/InputText/index.cjs +2 -0
- package/form/inputs/InputText/index.cjs.map +1 -1
- package/form/inputs/InputText/index.js +2 -0
- package/form/inputs/InputText/index.js.map +1 -1
- package/form/inputs/InputTextarea/index.cjs +2 -0
- package/form/inputs/InputTextarea/index.cjs.map +1 -1
- package/form/inputs/InputTextarea/index.js +2 -0
- package/form/inputs/InputTextarea/index.js.map +1 -1
- package/form/inputs/PhoneInput/index.cjs +2 -0
- package/form/inputs/PhoneInput/index.cjs.map +1 -1
- package/form/inputs/PhoneInput/index.js +2 -0
- package/form/inputs/PhoneInput/index.js.map +1 -1
- package/form/inputs/RadiusPicker/components/NumericRadiusInput.cjs +1 -0
- package/form/inputs/RadiusPicker/components/NumericRadiusInput.cjs.map +1 -1
- package/form/inputs/RadiusPicker/components/NumericRadiusInput.js +1 -0
- package/form/inputs/RadiusPicker/components/NumericRadiusInput.js.map +1 -1
- package/form/selects/AutoComplete/index.cjs +2 -0
- package/form/selects/AutoComplete/index.cjs.map +1 -1
- package/form/selects/AutoComplete/index.js +2 -0
- package/form/selects/AutoComplete/index.js.map +1 -1
- package/form/selects/Dropdown/index.cjs +2 -0
- package/form/selects/Dropdown/index.cjs.map +1 -1
- package/form/selects/Dropdown/index.js +2 -0
- package/form/selects/Dropdown/index.js.map +1 -1
- package/form/selects/ListBox/index.cjs +2 -0
- package/form/selects/ListBox/index.cjs.map +1 -1
- package/form/selects/ListBox/index.js +2 -0
- package/form/selects/ListBox/index.js.map +1 -1
- package/form/selects/MultiSelect/index.cjs +2 -0
- package/form/selects/MultiSelect/index.cjs.map +1 -1
- package/form/selects/MultiSelect/index.js +2 -0
- package/form/selects/MultiSelect/index.js.map +1 -1
- package/form/selects/TreeSelect/index.cjs +2 -0
- package/form/selects/TreeSelect/index.cjs.map +1 -1
- package/form/selects/TreeSelect/index.js +2 -0
- package/form/selects/TreeSelect/index.js.map +1 -1
- package/form-renderer/components/layout/FieldWrapper.cjs +2 -0
- package/form-renderer/components/layout/FieldWrapper.cjs.map +1 -1
- package/form-renderer/components/layout/FieldWrapper.js +2 -0
- package/form-renderer/components/layout/FieldWrapper.js.map +1 -1
- package/hooks/shadowPresets.cjs +1 -0
- package/hooks/shadowPresets.cjs.map +1 -1
- package/hooks/shadowPresets.js +1 -0
- package/hooks/shadowPresets.js.map +1 -1
- package/hooks/useFocusStyles.cjs +2 -0
- package/hooks/useFocusStyles.cjs.map +1 -1
- package/hooks/useFocusStyles.js +2 -0
- package/hooks/useFocusStyles.js.map +1 -1
- package/index.cjs +5 -0
- package/index.cjs.map +1 -1
- package/index.d.ts +60 -3
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/layout/Center/index.cjs +2 -0
- package/layout/Center/index.cjs.map +1 -1
- package/layout/Center/index.js +2 -0
- package/layout/Center/index.js.map +1 -1
- package/layout/Container/container.cjs +2 -0
- package/layout/Container/container.cjs.map +1 -1
- package/layout/Container/container.js +2 -0
- package/layout/Container/container.js.map +1 -1
- package/layout/Flex/index.cjs +2 -0
- package/layout/Flex/index.cjs.map +1 -1
- package/layout/Flex/index.js +2 -0
- package/layout/Flex/index.js.map +1 -1
- package/layout/HStack/index.cjs +2 -0
- package/layout/HStack/index.cjs.map +1 -1
- package/layout/HStack/index.js +2 -0
- package/layout/HStack/index.js.map +1 -1
- package/layout/List/index.cjs +2 -0
- package/layout/List/index.cjs.map +1 -1
- package/layout/List/index.js +2 -0
- package/layout/List/index.js.map +1 -1
- package/layout/ListItem/index.cjs +2 -0
- package/layout/ListItem/index.cjs.map +1 -1
- package/layout/ListItem/index.js +2 -0
- package/layout/ListItem/index.js.map +1 -1
- package/layout/ScrollView/index.cjs +2 -0
- package/layout/ScrollView/index.cjs.map +1 -1
- package/layout/ScrollView/index.js +2 -0
- package/layout/ScrollView/index.js.map +1 -1
- package/layout/VStack/index.cjs +2 -0
- package/layout/VStack/index.cjs.map +1 -1
- package/layout/VStack/index.js +2 -0
- package/layout/VStack/index.js.map +1 -1
- package/package.json +1 -1
- package/packages/types/src/Theme/alphaColors.cjs +24 -0
- package/packages/types/src/Theme/alphaColors.cjs.map +1 -0
- package/packages/types/src/Theme/alphaColors.js +19 -0
- package/packages/types/src/Theme/alphaColors.js.map +1 -0
- package/packages/types/src/Theme/resolvers.cjs +6 -0
- package/packages/types/src/Theme/resolvers.cjs.map +1 -1
- package/packages/types/src/Theme/resolvers.js +6 -0
- package/packages/types/src/Theme/resolvers.js.map +1 -1
- package/primitives/Box/index.cjs +2 -0
- package/primitives/Box/index.cjs.map +1 -1
- package/primitives/Box/index.js +2 -0
- package/primitives/Box/index.js.map +1 -1
- package/primitives/Card/index.cjs +2 -0
- package/primitives/Card/index.cjs.map +1 -1
- package/primitives/Card/index.js +2 -0
- package/primitives/Card/index.js.map +1 -1
- package/primitives/Divider/index.cjs +2 -0
- package/primitives/Divider/index.cjs.map +1 -1
- package/primitives/Divider/index.js +2 -0
- package/primitives/Divider/index.js.map +1 -1
- package/primitives/Heading/index.cjs +2 -0
- package/primitives/Heading/index.cjs.map +1 -1
- package/primitives/Heading/index.js +2 -0
- package/primitives/Heading/index.js.map +1 -1
- package/primitives/Icon/index.cjs +1 -0
- package/primitives/Icon/index.cjs.map +1 -1
- package/primitives/Icon/index.js +1 -0
- package/primitives/Icon/index.js.map +1 -1
- package/primitives/Image/index.cjs +2 -0
- package/primitives/Image/index.cjs.map +1 -1
- package/primitives/Image/index.js +2 -0
- package/primitives/Image/index.js.map +1 -1
- package/primitives/Skeleton/index.cjs +2 -0
- package/primitives/Skeleton/index.cjs.map +1 -1
- package/primitives/Skeleton/index.js +2 -0
- package/primitives/Skeleton/index.js.map +1 -1
- package/primitives/Svg/index.cjs +2 -0
- package/primitives/Svg/index.cjs.map +1 -1
- package/primitives/Svg/index.js +2 -0
- package/primitives/Svg/index.js.map +1 -1
- package/primitives/Text/index.cjs +2 -0
- package/primitives/Text/index.cjs.map +1 -1
- package/primitives/Text/index.js +2 -0
- package/primitives/Text/index.js.map +1 -1
package/index.d.ts
CHANGED
|
@@ -1407,6 +1407,37 @@ declare function isSemanticToken(value: string, theme?: IKitsTheme): boolean;
|
|
|
1407
1407
|
*/
|
|
1408
1408
|
declare function isThemeToken(value: string): boolean;
|
|
1409
1409
|
|
|
1410
|
+
/**
|
|
1411
|
+
* Alpha overlay color families — `white-alpha-*` and `black-alpha-*`.
|
|
1412
|
+
*
|
|
1413
|
+
* These back the tokens `ColorValue` already advertises (`white-alpha-10` …
|
|
1414
|
+
* `white-alpha-90`, `black-alpha-10` … `black-alpha-90`). The step (10…90)
|
|
1415
|
+
* IS the alpha percentage, matching the PrimeFlex convention the rest of
|
|
1416
|
+
* `ColorValue` follows (`blue-50…900`, `surface-0…900`).
|
|
1417
|
+
*
|
|
1418
|
+
* This is the SINGLE SOURCE OF TRUTH: both the web CSS-var injector
|
|
1419
|
+
* (`generateCssVariables`) and the native color-map builder
|
|
1420
|
+
* (`buildNativeColorMap`) derive their `--kits-*-alpha-*` entries from
|
|
1421
|
+
* {@link ALPHA_COLOR_VARS}, so the two platforms can never drift.
|
|
1422
|
+
*
|
|
1423
|
+
* LITERAL by design: the values are identical in light and dark theme
|
|
1424
|
+
* builds and must NEVER be routed through dark-mode inversion. They are
|
|
1425
|
+
* overlay / scrim colors — a 60% white scrim over an image has to stay a
|
|
1426
|
+
* 60% white scrim in dark mode, not flip to black.
|
|
1427
|
+
*/
|
|
1428
|
+
/** Alpha steps (also the alpha percentage of each step). */
|
|
1429
|
+
declare const ALPHA_STEPS: readonly [10, 20, 30, 40, 50, 60, 70, 80, 90];
|
|
1430
|
+
/**
|
|
1431
|
+
* CSS-variable name → literal rgba value. Keys are the fully-qualified
|
|
1432
|
+
* `--kits-<family>-alpha-<step>` names emitted into `:root` (web) and the
|
|
1433
|
+
* native color map.
|
|
1434
|
+
*/
|
|
1435
|
+
declare const ALPHA_COLOR_VARS: Record<string, string>;
|
|
1436
|
+
/** Bare token names as authored in props, e.g. `'white-alpha-60'`. */
|
|
1437
|
+
declare const ALPHA_TOKEN_NAMES: ReadonlySet<string>;
|
|
1438
|
+
/** True when `value` is an advertised alpha token (`white-alpha-60`, `black-alpha-90`, …). */
|
|
1439
|
+
declare function isAlphaToken(value: string): boolean;
|
|
1440
|
+
|
|
1410
1441
|
export interface IButtonParams {
|
|
1411
1442
|
/** The current number of items in the group. */
|
|
1412
1443
|
total: number;
|
|
@@ -7027,6 +7058,31 @@ export interface IKitsDialogControlled {
|
|
|
7027
7058
|
export type ToastPosition = "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top-center" | "bottom-center";
|
|
7028
7059
|
export type ToastSeverity = "success" | "info" | "warn" | "error" | "loading" | "brand";
|
|
7029
7060
|
export type ToastSize = "sm" | "md" | "lg";
|
|
7061
|
+
/**
|
|
7062
|
+
* A single actionable affordance rendered beside the toast's close control.
|
|
7063
|
+
* `onPress` runs first, then the toast dismisses itself — same contract as
|
|
7064
|
+
* the whole-toast `onPress`, so an action toast never lingers after it has
|
|
7065
|
+
* been acted on.
|
|
7066
|
+
*/
|
|
7067
|
+
export interface IToastAction {
|
|
7068
|
+
label: string;
|
|
7069
|
+
onPress: () => void;
|
|
7070
|
+
}
|
|
7071
|
+
/**
|
|
7072
|
+
* Trailing options bag. Every future toast capability lands in here rather
|
|
7073
|
+
* than as another positional slot — the tuple stops growing at 8.
|
|
7074
|
+
*/
|
|
7075
|
+
export interface IToastOptions {
|
|
7076
|
+
/** Renders a labelled button beside the close control. */
|
|
7077
|
+
action?: IToastAction;
|
|
7078
|
+
/**
|
|
7079
|
+
* Extra distance in px/pt between the toast and the edge it is anchored
|
|
7080
|
+
* to, ON TOP of the safe-area inset already applied. KitsConcerto knows
|
|
7081
|
+
* nothing about the consumer's chrome, so a consumer with a bottom tab
|
|
7082
|
+
* bar (or a sticky header) passes its height here to clear it.
|
|
7083
|
+
*/
|
|
7084
|
+
offset?: number;
|
|
7085
|
+
}
|
|
7030
7086
|
export type IToastParams = [
|
|
7031
7087
|
severity: ToastSeverity,
|
|
7032
7088
|
summary: string,
|
|
@@ -7034,7 +7090,8 @@ export type IToastParams = [
|
|
|
7034
7090
|
position?: ToastPosition,
|
|
7035
7091
|
isUpdate?: boolean,
|
|
7036
7092
|
size?: ToastSize,
|
|
7037
|
-
onPress?: () => void
|
|
7093
|
+
onPress?: () => void,
|
|
7094
|
+
options?: IToastOptions
|
|
7038
7095
|
];
|
|
7039
7096
|
export type IToastFunction = (...args: IToastParams) => void;
|
|
7040
7097
|
export interface IKitsToastRef {
|
|
@@ -13943,5 +14000,5 @@ declare const localeFiles: {
|
|
|
13943
14000
|
};
|
|
13944
14001
|
};
|
|
13945
14002
|
|
|
13946
|
-
export { CustomAccordion as Accordion, Alert, AlertDescription, AlertIcon, AlertTitle, KitsAnimatePresence as AnimatePresence, AnyFile, Avatar, AvatarStack, Badge, Banner, BottomTabBar, Box, BreadCrumb, Button, Card, Carousel, Center, ChatBubble, Chip, CircularProgress, Collapse, CommandPalette, Container, CustomPopover, DEFAULT_NATIVE_SHADOWS, DataView, DataViewContext, DateSeparator, DetailList as DetailsList, Divider, EDateFormat, EKeyFilter, Editable, EmptyState, FIELD_LABEL_MARGIN, FIELD_MARGIN, Flex, Form, FormSelect, GUTTER, Gallery, Form as GoForm, Datatable as GoTable, KitsGrid as Grid, KitsGridItem as GridItem, HELPER_TEXT_MARGIN, HStack, Heading, Icon, IconMap, Image, KitsInputSwitch as InputSwitch, KeyboardNavContext, KitsAutoComplete, KitsCascadeSelect, KitsCheckbox as KitsCheckboxes, KitsConfirm, KitsConfirmPopup, KitsContainer, KitsInputCalendar as KitsDatepicker, KitsDialogControlled as KitsDialog, KitsDropdown, FilePicker as KitsFilePicker, KitsInputColorPicker, KitsInputLocation, KitsInputMask, KitsInputNumber, KitsInputPassword, KitsInputText, KitsInputTextarea, KitsListBox, KitsMultiSelect, KitsPhoneComponent, KitsRadio as KitsRadios, RadiusPicker as KitsRadiusPicker, KitsSliders, KitsThemeProvider, KitsToast, KitsTreeSelect, Label, Link, List, ListItem, Loader, LocaleContext, LocaleContextProvider, MainContext, MainContextProvider, MessageComposer, MessageReceipt, KitsMultiSelect as MultiSelect, PersonCard, ProgressBar, RadiusPicker, SHADOW_PRESET_KEYS, SPACER, KitsScrollView as ScrollView, SegmentedControl, FormSelect as Select, SelectButton, Skeleton$1 as Skeleton, SkeletonRows, Skeleton as SkeletonText, StatCard, StatGroup, StatePill, Stepper, Svg, TableContext, Tabs, Text, ThemeContextProvider, Timeline, Tooltip, Translate, KitsTreeSelect as TreeSelect, TreeView, TriStateCheckbox, TypingIndicator, VStack, borderProperties, breakpoints, capitalizeFirstLetter, checkExtAgainstAccepted, checkNameDuplication, dateTimeFormat, deepMerge, defaultSeverityTheme, defaultTheme, downloadCanvas, dynamicList, expandShadowNative, extendTheme, fileTypeIcon, fileValidation, filesExt, filesMemes, filesTypes, flattenSlotStyles, fontSizeMapping, formFileValidation, getActiveNativeShadows, getCombinedChildIds, getCustomDateTime, getDateElements, getDefaultValues, getMeme, getParams, getPropertyByPath, getType, getTypes, getURLParams, imagesExt, imagesMemes, imagesTypes, isNumber, isSemanticToken, isShadowPreset, isThemeToken, isToday, isValidURL, listingProperties, localeFiles, allProperties as mapCssProperties, mergeRefs, nonPxProperties, propertiesWithoutCssEquivalent, pxProperties, resolveStyleRecord, resolveTokenValue, schemaBuilder, setActiveNativeShadows, shadowNative, shadowWeb, sizeMapping, sizingProperties, timeAgo, timeSince, toMemes, useAllSeverityColors, useComponentDefaults, useDataView, useDialog, useDisclosure, useFieldLogic, useFocusStyles, useFormFieldKeyboardNav, useFormManager, useKeyboardNav, useKeyboardNavProvider, useKitsColorScheme, useKitsConcerto, useKitsTheme, useLanguage, useNativeColorMap, usePopup, useResolvedElementStyles, useResolvedStyle, useRtlLineHeight, useScrollState, useSelectionController, useSeverityColors, useTable, useTheme, useThemedFont, useToast };
|
|
13947
|
-
export type { AlignmentsValues, AllSlotKeys, AnimationsValues, AvatarShape, AvatarSize, AvatarStatus, BannerAction, BannerStatus, BaseFieldProps, Booleanish, Breakpoint, CallbackProps, ChatBubbleTone, ChatBubbleVariant, ChipSeverity, ChipSize, ColorMode, ColorScale, ColorValue, Colors, ColorsType, ComponentSize, CustomSubmitButtonProps, DataTableFilterMeta, DataTableFilterMetaData, DataTableOperatorFilterMetaData, DataTableSelectionSingleChangeEvent, DataTableSortMeta, DeepPartial, DetailItemInputType, DynamicValue, ElementProps, EnteringAnimation, ExitingAnimation, ExpandedKeys, FetchError, FetchSuccess, FetchTableDataRes, FetchTablePaginationData, FieldWrapperProps, File$1 as File, FileUploaderTemplate, FileUploaderTemplateParams, FlexAlignmentsValues, FlexValues, FormBooleanEvent, FormBooleanTarget, FormEvent, FormTarget, GroupFieldConfigs, HighSizingValue, IAccordionElementSlots, IAccordionProps, IAddressComponentValue, IAddressExperianFormat, IAddressFormat, IAddressFormatResults, IAddressSearchResults, IAlertComponent, IAlertProps, IAlignment, IAnimation, IAutoCompleteCore, IAutoCompleteElement, IAvatarElementSlots, IAvatarProps, IAvatarStackElementSlots, IAvatarStackProps, IBadgeProps, IBannerProps, IBarChartProps, IBaseValidation, IBasicSectionProps, IBg, IBodyTemplate, IBorder, IBottomTabBarElementSlots, IBottomTabBarProps, IBoxComponent, IBuilderAddressField, IBuilderCheckboxField, IBuilderContainerField, IBuilderDateField, IBuilderField, IBuilderFieldBase, IBuilderFieldExport, IBuilderFileField, IBuilderGroupField, IBuilderMultiselectField, IBuilderNumberField, IBuilderPhoneField, IBuilderRadiosField, IBuilderRadiusPickerField, IBuilderSectionField, IBuilderSelectField, IBuilderSwitchField, IBuilderTagsField, IBuilderTextField, IBuilderTextareaField, IButton, IButtonElementSlots, IButtonParams, IButtonProps, IButtonState, IButtonsFilter, ICanvasProps, ICardComponent, ICardElementSlots, ICarouselElementSlots, ICarouselProps, ICascadeSelect, ICascadeSelectCore, IChatBubbleElementSlots, IChatBubbleProps, ICheckbox, ICheckboxFilter, ICheckboxSlots, IChildren, IChildrenParams, IChipProps, ICircularProgressProps, ICollapseProps, IColorPicker, IColumn, IColumnBase, ICombined, ICommandPaletteGroup, ICommandPaletteItem, ICommandPaletteProps, IComponentThemeConfig, IConditionGroupProps, IConditionRowProps, IConditionRule, IConditionsSectionProps, IConfirmDialogProps, IConfirmPopupProps, IContainer, IContainerCardProps, IContainerProps, IContextValues, ICountrySearchResults, ICssStyling, IDVButtonsFilter, IDVCheckboxFilter, IDVDateFilter, IDVDropdownFilter, IDVFilters, IDVMessages, IDVMultiselectFilter, IDVNumberFilter, IDVPaginationRequest, IDVPaginationResponse, IDVPaginationState, IDVPhoneFilter, IDVRangeFilter, IDVTextFilter, IDVTriStateFilter, IDataTableContextValues, IDataTableProps, IDataViewContextValues, IDataViewProps, IDataViewRefValues, IDatatableRefValues, IDate, IDateFilter, IDateProps, IDateSeparatorElementSlots, IDateSeparatorProps, IDateValidation, IDatepickerSlots, IDetailItem, IDetailListProps, IDialogButton, IDialogProps, IDialogRef, IDialogState, IDisplay, IDividerComponent, IDoughnutChartProps, IDropdownCore, IDropdownFilter, IDropdownSelect, IEditableProps, IEditors, IEffects, IElementBase, IElementSlotConfig, IElementStyle, IEmail, IEmailSearchResults, IEmptyStateElementSlots, IEmptyStateProps, IFieldCardProps, IFieldCondition, IFieldPreviewProps, IFile, IFileUploader, IFileUploaderElement, IFileUploaderTypes, IFileValidation, IFilesExtTypeKeys, IFilters, IFlexAlignment, IFlexComponent, IFormAddon, IFormBuilderInternalState, IFormBuilderMeta, IFormBuilderPayload, IFormBuilderProps, IFormComponent, IFormElement, IFormElementBaseSlots, IFormElementSlots, IFormGrid, IFormListsElements, IFormSelect, IFormSelectElements, IFormSingleElement, IGalleryElementSlots, IGalleryItem, IGalleryProps, IGrid, IGridComponent, IGridItem, IGridItemComponent, IGroup, IGroupCardProps, IGroupElementSlots, IGroupSettings, IHeaderElementSlots, IHeadingComponent, IIconProps, IImageComponent, IImagesExtTypeKeys, IInteractivity, IKeyedColumn, IKitsAnimation, IKitsCheckboxProps, IKitsComponentDefaults, IKitsContainer, IKitsDialogControlled, IKitsInputCalendar, IKitsInputColorPicker, IKitsInputLocation, IKitsInputMask, IKitsInputNumber, IKitsInputPassword, IKitsInputRating, IKitsInputSwitch, IKitsInputText, IKitsInputTextarea, IKitsPhoneInput, IKitsRadioProps, IKitsTheme, IKitsThemeColors, IKitsThemeConfig, IKitsThemeContextValues, IKitsThemeFontSizes, IKitsThemeFontWeights, IKitsThemeFonts, IKitsThemeLineHeights, IKitsThemeRadii, IKitsThemeShadows, IKitsThemeSpacing, IKitsToastRef, ILabelElement, ILabelProps, ILanguage, ILayout, ILineChartProps, ILinkComponent, ILinkOverrides, IList, IListBoxCore, IListBoxElement, IListBoxSelect, IListItem, IListing, ILoaderProps, ILoadingIndicatorContext, ILocaleContextProps, ILocaleContextValues, ILocation, ILocationDetailsResponse, ILocationResponse, IMainContextProps, IMainContextValues, IMemes, IMenuItem, IMessageComposerElementSlots, IMessageComposerProps, IMessageReceiptElementSlots, IMessageReceiptProps, IMessages, IMinusButton, IModalComponent, IModalFormProps, IMultiSelect, IMultiSelectCore, IMultiSelectSlots, IMultiselect, IMultiselectFilter, INativeShadow, INonCrossPlatformTypes, INumberFilter, INumberInput, INumberProps, INumberValidation, IObjectGroup, IOneOfTypes, IOptionItem, IOptionsEditorProps, IOptionsSource, IPageISection, IPaginationRequest, IPaginationResponse, IPaletteItemProps, IPaletteProps, IPanelCustomSlot, IPassword, IPasswordProps, IPersonCardProps, IPhone, IPhoneFilter, IPhoneObjectValue, IPhoneValidationResults, IPhoneValue, IPieChartProps, IPlusButton, IPolarAreaChartProps, IPopoverProps, IProgressBarElementSlots, IProgressBarProps, IPropertiesPanelProps, IRTLDetection, IRadarChartProps, IRadioCheckboxListItem, IRadioGroup, IRadioSlots, IRadiusPickerEvents, IRadiusPickerField, IRadiusPickerI18n, IRadiusPickerProps, IRangeFilter, IRef, IRepeatableSettings, IResponsiveElement, ISVGComponent, IScrollViewComponent, ISegmentedControlOption, ISegmentedControlProps, ISelect, ISelectBase, ISelectCore, ISelectElement, ISelectSlots, ISelectType, ISelectedFile, ISelectedFileType, ISelectionValidation, ISeverityColorSlots, ISeverityThemeMap, IShadowDefinition, IShadowValue, ISidebarElementSlots, ISizing, ISkeleton, ISkeletonRowsProps, ISkeletonText, ISliderProps, ISpacing, IStackProps, IStatCardElementSlots, IStatCardProps, IStatGroupElementSlots, IStatGroupProps, IStatePillProps, IStatisticsProps, IStats, IStepperElementSlots, IStepperProps, IStyleClasses, ISwitch, ISwitchSlots, ITabBarItem, ITabItem, ITableElementSlots, ITableFlatConfig, ITabsElementSlots, ITabsProps, ITags, IText, ITextComponent, ITextFieldProps, ITextFilter, ITextInput, ITextInputProps, ITextInputSlots, ITextValidation, ITextarea, IThemeContextProps, IThemeContextValues, ITimelineElementSlots, ITimelineItem, ITimelineProps, IToastFunction, IToastParams, IToolbarProps, ITransforms, ITransition, ITranslatableInputProps, ITranslatableText, ITranslateComponent, ITreeItem, ITreeSelect, ITreeSelectCore, ITreeSelectElement, ITreeSelectNode, ITreeViewProps, ITriStateFilter, ITypingIndicatorElementSlots, ITypingIndicatorProps, IUnkeyedColumn, IUseFormReturn, IUserAvatar, IValidationSectionProps, IWidgetBarIncomingProp, IWidgetChartContextProps, IWidgetChartProp, IWidgetData, IWidgetDoughnutIncomingProp, IWidgetLineIncomingProp, IWidgetPieIncomingProp, IWidgetPolarAreaIncomingProp, IWidgetRadarIncomingProp, IconName, IconType, InputTextFieldProps, KitsBreakpoint, KitsConditionalObject, KitsDevice, KitsOrientation, KitsPlatform, KitsResponsiveObject, KitsResponsiveValue, KitsThemeOverride, LabelVariant, LatLng, LoadMode, LoadingIndicatorRenderer, LogicFunction, MapInteraction, MeasurementValues, MessageReceiptState, Nullable, Numbering0_12, Numbering0_32, Numberish, OnCenterChange, OnLocationError, OnLocationFound, OnRadiusChange, OnRadiusValueChange, OnSubmitHandler, OnUnitChange, Orientation, PaginationState, PaginatorPageChangeEvent$1 as PaginatorPageChangeEvent, Permissions, PlatformKey, RadiusPickerDisplay, RadiusPickerLayout, RadiusPickerSize, RadiusUnit, RadiusValue, RenderLocationButtonProps, RenderMapProps, RenderSearchBoxProps, SelectFieldProps, SemanticColorTokens, ServerMethod, ServerResponse, ServerSideProps, SetManyOpts, Severity, Shades, ShadowPreset, Shapes, SidesValues, SizingNumbering, SizingValue, StatePillState, StepperVariant, TAcceptedFileType, TBuilderFieldType, TCheckboxRadioMode, TCheckboxRadioSize, TConditionAction, TConditionMatch, TConditionOperator, TDateBoundary, TDynamicFlag, TIsoFormat, TItemsPerRow, TKeyFilter, TLocationProvider, TextLabels, TextProps, ThemedFontKind, TimelineItemStatus, Timeout, TimingNumbering, ToastPosition, ToastSeverity, ToastSize, TooltipDataAttributes, TooltipProps, TreeChangeProps, TreeCheckboxSelectionKeyType, TreeCheckboxSelectionKeys, TreeNode, TreeNodeClickEvent, TreeNodeTemplateOptions, TreeProps, TreeRef, TreeSelectionEvent, Types, UseComponentDefaultsResult, UseDisclosureReturnType, UseFieldLogicElementProps, UseFieldLogicProps, UseFieldLogicReturn, UseFormManagerEvents, UseFormManagerReturn, UseToastApi, ValidationProps, children, clearFunction, downloadableFileResponse, settings1, settings2 };
|
|
14003
|
+
export { ALPHA_COLOR_VARS, ALPHA_STEPS, ALPHA_TOKEN_NAMES, CustomAccordion as Accordion, Alert, AlertDescription, AlertIcon, AlertTitle, KitsAnimatePresence as AnimatePresence, AnyFile, Avatar, AvatarStack, Badge, Banner, BottomTabBar, Box, BreadCrumb, Button, Card, Carousel, Center, ChatBubble, Chip, CircularProgress, Collapse, CommandPalette, Container, CustomPopover, DEFAULT_NATIVE_SHADOWS, DataView, DataViewContext, DateSeparator, DetailList as DetailsList, Divider, EDateFormat, EKeyFilter, Editable, EmptyState, FIELD_LABEL_MARGIN, FIELD_MARGIN, Flex, Form, FormSelect, GUTTER, Gallery, Form as GoForm, Datatable as GoTable, KitsGrid as Grid, KitsGridItem as GridItem, HELPER_TEXT_MARGIN, HStack, Heading, Icon, IconMap, Image, KitsInputSwitch as InputSwitch, KeyboardNavContext, KitsAutoComplete, KitsCascadeSelect, KitsCheckbox as KitsCheckboxes, KitsConfirm, KitsConfirmPopup, KitsContainer, KitsInputCalendar as KitsDatepicker, KitsDialogControlled as KitsDialog, KitsDropdown, FilePicker as KitsFilePicker, KitsInputColorPicker, KitsInputLocation, KitsInputMask, KitsInputNumber, KitsInputPassword, KitsInputText, KitsInputTextarea, KitsListBox, KitsMultiSelect, KitsPhoneComponent, KitsRadio as KitsRadios, RadiusPicker as KitsRadiusPicker, KitsSliders, KitsThemeProvider, KitsToast, KitsTreeSelect, Label, Link, List, ListItem, Loader, LocaleContext, LocaleContextProvider, MainContext, MainContextProvider, MessageComposer, MessageReceipt, KitsMultiSelect as MultiSelect, PersonCard, ProgressBar, RadiusPicker, SHADOW_PRESET_KEYS, SPACER, KitsScrollView as ScrollView, SegmentedControl, FormSelect as Select, SelectButton, Skeleton$1 as Skeleton, SkeletonRows, Skeleton as SkeletonText, StatCard, StatGroup, StatePill, Stepper, Svg, TableContext, Tabs, Text, ThemeContextProvider, Timeline, Tooltip, Translate, KitsTreeSelect as TreeSelect, TreeView, TriStateCheckbox, TypingIndicator, VStack, borderProperties, breakpoints, capitalizeFirstLetter, checkExtAgainstAccepted, checkNameDuplication, dateTimeFormat, deepMerge, defaultSeverityTheme, defaultTheme, downloadCanvas, dynamicList, expandShadowNative, extendTheme, fileTypeIcon, fileValidation, filesExt, filesMemes, filesTypes, flattenSlotStyles, fontSizeMapping, formFileValidation, getActiveNativeShadows, getCombinedChildIds, getCustomDateTime, getDateElements, getDefaultValues, getMeme, getParams, getPropertyByPath, getType, getTypes, getURLParams, imagesExt, imagesMemes, imagesTypes, isAlphaToken, isNumber, isSemanticToken, isShadowPreset, isThemeToken, isToday, isValidURL, listingProperties, localeFiles, allProperties as mapCssProperties, mergeRefs, nonPxProperties, propertiesWithoutCssEquivalent, pxProperties, resolveStyleRecord, resolveTokenValue, schemaBuilder, setActiveNativeShadows, shadowNative, shadowWeb, sizeMapping, sizingProperties, timeAgo, timeSince, toMemes, useAllSeverityColors, useComponentDefaults, useDataView, useDialog, useDisclosure, useFieldLogic, useFocusStyles, useFormFieldKeyboardNav, useFormManager, useKeyboardNav, useKeyboardNavProvider, useKitsColorScheme, useKitsConcerto, useKitsTheme, useLanguage, useNativeColorMap, usePopup, useResolvedElementStyles, useResolvedStyle, useRtlLineHeight, useScrollState, useSelectionController, useSeverityColors, useTable, useTheme, useThemedFont, useToast };
|
|
14004
|
+
export type { AlignmentsValues, AllSlotKeys, AnimationsValues, AvatarShape, AvatarSize, AvatarStatus, BannerAction, BannerStatus, BaseFieldProps, Booleanish, Breakpoint, CallbackProps, ChatBubbleTone, ChatBubbleVariant, ChipSeverity, ChipSize, ColorMode, ColorScale, ColorValue, Colors, ColorsType, ComponentSize, CustomSubmitButtonProps, DataTableFilterMeta, DataTableFilterMetaData, DataTableOperatorFilterMetaData, DataTableSelectionSingleChangeEvent, DataTableSortMeta, DeepPartial, DetailItemInputType, DynamicValue, ElementProps, EnteringAnimation, ExitingAnimation, ExpandedKeys, FetchError, FetchSuccess, FetchTableDataRes, FetchTablePaginationData, FieldWrapperProps, File$1 as File, FileUploaderTemplate, FileUploaderTemplateParams, FlexAlignmentsValues, FlexValues, FormBooleanEvent, FormBooleanTarget, FormEvent, FormTarget, GroupFieldConfigs, HighSizingValue, IAccordionElementSlots, IAccordionProps, IAddressComponentValue, IAddressExperianFormat, IAddressFormat, IAddressFormatResults, IAddressSearchResults, IAlertComponent, IAlertProps, IAlignment, IAnimation, IAutoCompleteCore, IAutoCompleteElement, IAvatarElementSlots, IAvatarProps, IAvatarStackElementSlots, IAvatarStackProps, IBadgeProps, IBannerProps, IBarChartProps, IBaseValidation, IBasicSectionProps, IBg, IBodyTemplate, IBorder, IBottomTabBarElementSlots, IBottomTabBarProps, IBoxComponent, IBuilderAddressField, IBuilderCheckboxField, IBuilderContainerField, IBuilderDateField, IBuilderField, IBuilderFieldBase, IBuilderFieldExport, IBuilderFileField, IBuilderGroupField, IBuilderMultiselectField, IBuilderNumberField, IBuilderPhoneField, IBuilderRadiosField, IBuilderRadiusPickerField, IBuilderSectionField, IBuilderSelectField, IBuilderSwitchField, IBuilderTagsField, IBuilderTextField, IBuilderTextareaField, IButton, IButtonElementSlots, IButtonParams, IButtonProps, IButtonState, IButtonsFilter, ICanvasProps, ICardComponent, ICardElementSlots, ICarouselElementSlots, ICarouselProps, ICascadeSelect, ICascadeSelectCore, IChatBubbleElementSlots, IChatBubbleProps, ICheckbox, ICheckboxFilter, ICheckboxSlots, IChildren, IChildrenParams, IChipProps, ICircularProgressProps, ICollapseProps, IColorPicker, IColumn, IColumnBase, ICombined, ICommandPaletteGroup, ICommandPaletteItem, ICommandPaletteProps, IComponentThemeConfig, IConditionGroupProps, IConditionRowProps, IConditionRule, IConditionsSectionProps, IConfirmDialogProps, IConfirmPopupProps, IContainer, IContainerCardProps, IContainerProps, IContextValues, ICountrySearchResults, ICssStyling, IDVButtonsFilter, IDVCheckboxFilter, IDVDateFilter, IDVDropdownFilter, IDVFilters, IDVMessages, IDVMultiselectFilter, IDVNumberFilter, IDVPaginationRequest, IDVPaginationResponse, IDVPaginationState, IDVPhoneFilter, IDVRangeFilter, IDVTextFilter, IDVTriStateFilter, IDataTableContextValues, IDataTableProps, IDataViewContextValues, IDataViewProps, IDataViewRefValues, IDatatableRefValues, IDate, IDateFilter, IDateProps, IDateSeparatorElementSlots, IDateSeparatorProps, IDateValidation, IDatepickerSlots, IDetailItem, IDetailListProps, IDialogButton, IDialogProps, IDialogRef, IDialogState, IDisplay, IDividerComponent, IDoughnutChartProps, IDropdownCore, IDropdownFilter, IDropdownSelect, IEditableProps, IEditors, IEffects, IElementBase, IElementSlotConfig, IElementStyle, IEmail, IEmailSearchResults, IEmptyStateElementSlots, IEmptyStateProps, IFieldCardProps, IFieldCondition, IFieldPreviewProps, IFile, IFileUploader, IFileUploaderElement, IFileUploaderTypes, IFileValidation, IFilesExtTypeKeys, IFilters, IFlexAlignment, IFlexComponent, IFormAddon, IFormBuilderInternalState, IFormBuilderMeta, IFormBuilderPayload, IFormBuilderProps, IFormComponent, IFormElement, IFormElementBaseSlots, IFormElementSlots, IFormGrid, IFormListsElements, IFormSelect, IFormSelectElements, IFormSingleElement, IGalleryElementSlots, IGalleryItem, IGalleryProps, IGrid, IGridComponent, IGridItem, IGridItemComponent, IGroup, IGroupCardProps, IGroupElementSlots, IGroupSettings, IHeaderElementSlots, IHeadingComponent, IIconProps, IImageComponent, IImagesExtTypeKeys, IInteractivity, IKeyedColumn, IKitsAnimation, IKitsCheckboxProps, IKitsComponentDefaults, IKitsContainer, IKitsDialogControlled, IKitsInputCalendar, IKitsInputColorPicker, IKitsInputLocation, IKitsInputMask, IKitsInputNumber, IKitsInputPassword, IKitsInputRating, IKitsInputSwitch, IKitsInputText, IKitsInputTextarea, IKitsPhoneInput, IKitsRadioProps, IKitsTheme, IKitsThemeColors, IKitsThemeConfig, IKitsThemeContextValues, IKitsThemeFontSizes, IKitsThemeFontWeights, IKitsThemeFonts, IKitsThemeLineHeights, IKitsThemeRadii, IKitsThemeShadows, IKitsThemeSpacing, IKitsToastRef, ILabelElement, ILabelProps, ILanguage, ILayout, ILineChartProps, ILinkComponent, ILinkOverrides, IList, IListBoxCore, IListBoxElement, IListBoxSelect, IListItem, IListing, ILoaderProps, ILoadingIndicatorContext, ILocaleContextProps, ILocaleContextValues, ILocation, ILocationDetailsResponse, ILocationResponse, IMainContextProps, IMainContextValues, IMemes, IMenuItem, IMessageComposerElementSlots, IMessageComposerProps, IMessageReceiptElementSlots, IMessageReceiptProps, IMessages, IMinusButton, IModalComponent, IModalFormProps, IMultiSelect, IMultiSelectCore, IMultiSelectSlots, IMultiselect, IMultiselectFilter, INativeShadow, INonCrossPlatformTypes, INumberFilter, INumberInput, INumberProps, INumberValidation, IObjectGroup, IOneOfTypes, IOptionItem, IOptionsEditorProps, IOptionsSource, IPageISection, IPaginationRequest, IPaginationResponse, IPaletteItemProps, IPaletteProps, IPanelCustomSlot, IPassword, IPasswordProps, IPersonCardProps, IPhone, IPhoneFilter, IPhoneObjectValue, IPhoneValidationResults, IPhoneValue, IPieChartProps, IPlusButton, IPolarAreaChartProps, IPopoverProps, IProgressBarElementSlots, IProgressBarProps, IPropertiesPanelProps, IRTLDetection, IRadarChartProps, IRadioCheckboxListItem, IRadioGroup, IRadioSlots, IRadiusPickerEvents, IRadiusPickerField, IRadiusPickerI18n, IRadiusPickerProps, IRangeFilter, IRef, IRepeatableSettings, IResponsiveElement, ISVGComponent, IScrollViewComponent, ISegmentedControlOption, ISegmentedControlProps, ISelect, ISelectBase, ISelectCore, ISelectElement, ISelectSlots, ISelectType, ISelectedFile, ISelectedFileType, ISelectionValidation, ISeverityColorSlots, ISeverityThemeMap, IShadowDefinition, IShadowValue, ISidebarElementSlots, ISizing, ISkeleton, ISkeletonRowsProps, ISkeletonText, ISliderProps, ISpacing, IStackProps, IStatCardElementSlots, IStatCardProps, IStatGroupElementSlots, IStatGroupProps, IStatePillProps, IStatisticsProps, IStats, IStepperElementSlots, IStepperProps, IStyleClasses, ISwitch, ISwitchSlots, ITabBarItem, ITabItem, ITableElementSlots, ITableFlatConfig, ITabsElementSlots, ITabsProps, ITags, IText, ITextComponent, ITextFieldProps, ITextFilter, ITextInput, ITextInputProps, ITextInputSlots, ITextValidation, ITextarea, IThemeContextProps, IThemeContextValues, ITimelineElementSlots, ITimelineItem, ITimelineProps, IToastAction, IToastFunction, IToastOptions, IToastParams, IToolbarProps, ITransforms, ITransition, ITranslatableInputProps, ITranslatableText, ITranslateComponent, ITreeItem, ITreeSelect, ITreeSelectCore, ITreeSelectElement, ITreeSelectNode, ITreeViewProps, ITriStateFilter, ITypingIndicatorElementSlots, ITypingIndicatorProps, IUnkeyedColumn, IUseFormReturn, IUserAvatar, IValidationSectionProps, IWidgetBarIncomingProp, IWidgetChartContextProps, IWidgetChartProp, IWidgetData, IWidgetDoughnutIncomingProp, IWidgetLineIncomingProp, IWidgetPieIncomingProp, IWidgetPolarAreaIncomingProp, IWidgetRadarIncomingProp, IconName, IconType, InputTextFieldProps, KitsBreakpoint, KitsConditionalObject, KitsDevice, KitsOrientation, KitsPlatform, KitsResponsiveObject, KitsResponsiveValue, KitsThemeOverride, LabelVariant, LatLng, LoadMode, LoadingIndicatorRenderer, LogicFunction, MapInteraction, MeasurementValues, MessageReceiptState, Nullable, Numbering0_12, Numbering0_32, Numberish, OnCenterChange, OnLocationError, OnLocationFound, OnRadiusChange, OnRadiusValueChange, OnSubmitHandler, OnUnitChange, Orientation, PaginationState, PaginatorPageChangeEvent$1 as PaginatorPageChangeEvent, Permissions, PlatformKey, RadiusPickerDisplay, RadiusPickerLayout, RadiusPickerSize, RadiusUnit, RadiusValue, RenderLocationButtonProps, RenderMapProps, RenderSearchBoxProps, SelectFieldProps, SemanticColorTokens, ServerMethod, ServerResponse, ServerSideProps, SetManyOpts, Severity, Shades, ShadowPreset, Shapes, SidesValues, SizingNumbering, SizingValue, StatePillState, StepperVariant, TAcceptedFileType, TBuilderFieldType, TCheckboxRadioMode, TCheckboxRadioSize, TConditionAction, TConditionMatch, TConditionOperator, TDateBoundary, TDynamicFlag, TIsoFormat, TItemsPerRow, TKeyFilter, TLocationProvider, TextLabels, TextProps, ThemedFontKind, TimelineItemStatus, Timeout, TimingNumbering, ToastPosition, ToastSeverity, ToastSize, TooltipDataAttributes, TooltipProps, TreeChangeProps, TreeCheckboxSelectionKeyType, TreeCheckboxSelectionKeys, TreeNode, TreeNodeClickEvent, TreeNodeTemplateOptions, TreeProps, TreeRef, TreeSelectionEvent, Types, UseComponentDefaultsResult, UseDisclosureReturnType, UseFieldLogicElementProps, UseFieldLogicProps, UseFieldLogicReturn, UseFormManagerEvents, UseFormManagerReturn, UseToastApi, ValidationProps, children, clearFunction, downloadableFileResponse, settings1, settings2 };
|
package/index.js
CHANGED
|
@@ -103,6 +103,7 @@ export { defaultTheme } from './packages/types/src/Theme/defaultTheme.js';
|
|
|
103
103
|
export { defaultSeverityTheme } from './packages/types/src/Theme/defaultSeverityTheme.js';
|
|
104
104
|
export { deepMerge, extendTheme } from './packages/types/src/Theme/extendTheme.js';
|
|
105
105
|
export { isSemanticToken, isThemeToken, resolveTokenValue } from './packages/types/src/Theme/resolvers.js';
|
|
106
|
+
export { ALPHA_COLOR_VARS, ALPHA_STEPS, ALPHA_TOKEN_NAMES, isAlphaToken } from './packages/types/src/Theme/alphaColors.js';
|
|
106
107
|
export { default as AnimatePresence } from './layout/AnimatePresence/index.js';
|
|
107
108
|
export { default as Banner } from './components/Banner/banner.js';
|
|
108
109
|
export { default as Center } from './layout/Center/index.js';
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/layout/Center/index.cjs
CHANGED
|
@@ -61,6 +61,8 @@ require('yup');
|
|
|
61
61
|
require('../../packages/types/src/Css/map/index.cjs');
|
|
62
62
|
require('../../packages/types/src/Theme/shadows.cjs');
|
|
63
63
|
require('../../packages/types/src/Theme/defaultTheme.cjs');
|
|
64
|
+
require('../../packages/types/src/Theme/alphaColors.cjs');
|
|
65
|
+
require('../../apps/mobile/src/Factory/helpers/cssVarMap.cjs');
|
|
64
66
|
var useSeparator = require('../../apps/mobile/src/Factory/useSeparator.cjs');
|
|
65
67
|
require('../../apps/mobile/src/Factory/DimensionsContext.cjs');
|
|
66
68
|
require('i18next');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/layout/Center/index.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IFlexComponent} from \"@lmb-it/kitsconcerto-types\";\n\nconst Center = ({className, children, ref, ...props}:PropsWithChildren<IFlexComponent>) => {\n // const {cssProps, nativeProps} = split(props)\n const {cssProps, nativeProps} = useSeparator<HTMLDivElement>(props)\n const { entering, exiting, ...restNativeProps } = nativeProps;\n\n return (\n <ResponsiveElement ref={ref} as=\"Center\" entering={entering} exiting={exiting} additionalStyles={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n }} additionalClasses={className} cssProps={cssProps} nativeProps={restNativeProps} children={children} />\n )\n}\nexport default Center;\n"],"names":["useSeparator","ResponsiveElement"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../src/layout/Center/index.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IFlexComponent} from \"@lmb-it/kitsconcerto-types\";\n\nconst Center = ({className, children, ref, ...props}:PropsWithChildren<IFlexComponent>) => {\n // const {cssProps, nativeProps} = split(props)\n const {cssProps, nativeProps} = useSeparator<HTMLDivElement>(props)\n const { entering, exiting, ...restNativeProps } = nativeProps;\n\n return (\n <ResponsiveElement ref={ref} as=\"Center\" entering={entering} exiting={exiting} additionalStyles={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n }} additionalClasses={className} cssProps={cssProps} nativeProps={restNativeProps} children={children} />\n )\n}\nexport default Center;\n"],"names":["useSeparator","ResponsiveElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,MAAA,GAAS,CAAC,EAAC,SAAA,EAAW,UAAU,GAAA,EAAK,GAAG,OAAK,KAAwC;AAEvF,EAAA,MAAM,EAAC,QAAA,EAAU,WAAA,EAAW,GAAKA,qBAA6B,KAAK,CAAA;AACnE,EAAA,MAAM,EAAE,QAAA,EAAU,OAAA,EAAS,GAAG,iBAAgB,GAAI,WAAA;AAElD,EAAA,sCACKC,yBAAA,EAAA,EAAkB,GAAA,EAAU,IAAG,QAAA,EAAS,QAAA,EAAoB,SAAkB,gBAAA,EAAkB;AAAA,IAC7F,OAAA,EAAS,MAAA;AAAA,IACT,UAAA,EAAY,QAAA;AAAA,IACZ,cAAA,EAAgB;AAAA,KACjB,iBAAA,EAAmB,SAAA,EAAW,QAAA,EAAoB,WAAA,EAAa,iBAAiB,QAAA,EAAoB,CAAA;AAE/G;;;;"}
|
package/layout/Center/index.js
CHANGED
|
@@ -57,6 +57,8 @@ import 'yup';
|
|
|
57
57
|
import '../../packages/types/src/Css/map/index.js';
|
|
58
58
|
import '../../packages/types/src/Theme/shadows.js';
|
|
59
59
|
import '../../packages/types/src/Theme/defaultTheme.js';
|
|
60
|
+
import '../../packages/types/src/Theme/alphaColors.js';
|
|
61
|
+
import '../../apps/mobile/src/Factory/helpers/cssVarMap.js';
|
|
60
62
|
import useSeparator from '../../apps/mobile/src/Factory/useSeparator.js';
|
|
61
63
|
import '../../apps/mobile/src/Factory/DimensionsContext.js';
|
|
62
64
|
import 'i18next';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/layout/Center/index.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IFlexComponent} from \"@lmb-it/kitsconcerto-types\";\n\nconst Center = ({className, children, ref, ...props}:PropsWithChildren<IFlexComponent>) => {\n // const {cssProps, nativeProps} = split(props)\n const {cssProps, nativeProps} = useSeparator<HTMLDivElement>(props)\n const { entering, exiting, ...restNativeProps } = nativeProps;\n\n return (\n <ResponsiveElement ref={ref} as=\"Center\" entering={entering} exiting={exiting} additionalStyles={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n }} additionalClasses={className} cssProps={cssProps} nativeProps={restNativeProps} children={children} />\n )\n}\nexport default Center;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/layout/Center/index.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IFlexComponent} from \"@lmb-it/kitsconcerto-types\";\n\nconst Center = ({className, children, ref, ...props}:PropsWithChildren<IFlexComponent>) => {\n // const {cssProps, nativeProps} = split(props)\n const {cssProps, nativeProps} = useSeparator<HTMLDivElement>(props)\n const { entering, exiting, ...restNativeProps } = nativeProps;\n\n return (\n <ResponsiveElement ref={ref} as=\"Center\" entering={entering} exiting={exiting} additionalStyles={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n }} additionalClasses={className} cssProps={cssProps} nativeProps={restNativeProps} children={children} />\n )\n}\nexport default Center;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,MAAA,GAAS,CAAC,EAAC,SAAA,EAAW,UAAU,GAAA,EAAK,GAAG,OAAK,KAAwC;AAEvF,EAAA,MAAM,EAAC,QAAA,EAAU,WAAA,EAAW,GAAK,aAA6B,KAAK,CAAA;AACnE,EAAA,MAAM,EAAE,QAAA,EAAU,OAAA,EAAS,GAAG,iBAAgB,GAAI,WAAA;AAElD,EAAA,2BACK,iBAAA,EAAA,EAAkB,GAAA,EAAU,IAAG,QAAA,EAAS,QAAA,EAAoB,SAAkB,gBAAA,EAAkB;AAAA,IAC7F,OAAA,EAAS,MAAA;AAAA,IACT,UAAA,EAAY,QAAA;AAAA,IACZ,cAAA,EAAgB;AAAA,KACjB,iBAAA,EAAmB,SAAA,EAAW,QAAA,EAAoB,WAAA,EAAa,iBAAiB,QAAA,EAAoB,CAAA;AAE/G;;;;"}
|
|
@@ -61,6 +61,8 @@ require('yup');
|
|
|
61
61
|
require('../../packages/types/src/Css/map/index.cjs');
|
|
62
62
|
require('../../packages/types/src/Theme/shadows.cjs');
|
|
63
63
|
require('../../packages/types/src/Theme/defaultTheme.cjs');
|
|
64
|
+
require('../../packages/types/src/Theme/alphaColors.cjs');
|
|
65
|
+
require('../../apps/mobile/src/Factory/helpers/cssVarMap.cjs');
|
|
64
66
|
require('../../apps/mobile/src/Factory/DimensionsContext.cjs');
|
|
65
67
|
var useSeparator = require('../../apps/mobile/src/Factory/useSeparator.cjs');
|
|
66
68
|
require('i18next');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.cjs","sources":["../../../../src/layout/Container/container.native.tsx"],"sourcesContent":["import React, { type FunctionComponent, type PropsWithChildren, type ReactNode } from \"react\";\nimport {Box, Flex, Heading} from \"../../_compat\";\nimport { useSeparator } from \"../../factory\";\nimport type { IContainerProps } from \"@lmb-it/kitsconcerto-types\";\n\n\n\nconst Container: FunctionComponent<PropsWithChildren<IContainerProps>> = ({\n title,\n rightElement,\n children,\n childrenContainerProps = {},\n ...props\n }) => {\n const { cssProps, nativeProps } = useSeparator<any>(props);\n\n return (\n <Box\n bgColor=\"surface-0\"\n borderRadius={8}\n w=\"full\"\n overflow=\"hidden\"\n mb={8}\n shadow=\"md\"\n {...cssProps}\n {...nativeProps}\n >\n {(!!title || !!rightElement) && (\n <Flex\n backgroundColor=\"surface-100\"\n borderTopLeftRadius={8}\n borderTopRightRadius={8}\n p={10}\n flexDirection=\"row\"\n alignItems=\"center\"\n h={58}\n justifyContent=\"space-between\"\n >\n {!!title && (\n <Heading\n as=\"h2\"\n fontSize=\"lg\"\n fontWeight=\"bold\"\n fontColor=\"black-alpha-90\"\n letterSpacing={0}\n fontFamily=\"Poppins,Helvetica,sans-serif\"\n m={0}\n p={0}\n >\n {title}\n </Heading>\n )}\n {rightElement}\n </Flex>\n )}\n\n <Flex p={10} flexDirection=\"column\" {...childrenContainerProps}>\n {children}\n </Flex>\n </Box>\n );\n};\n\nexport default Container;\n"],"names":["useSeparator","jsxs","Box","Flex","jsx","Heading"],"mappings":"
|
|
1
|
+
{"version":3,"file":"container.cjs","sources":["../../../../src/layout/Container/container.native.tsx"],"sourcesContent":["import React, { type FunctionComponent, type PropsWithChildren, type ReactNode } from \"react\";\nimport {Box, Flex, Heading} from \"../../_compat\";\nimport { useSeparator } from \"../../factory\";\nimport type { IContainerProps } from \"@lmb-it/kitsconcerto-types\";\n\n\n\nconst Container: FunctionComponent<PropsWithChildren<IContainerProps>> = ({\n title,\n rightElement,\n children,\n childrenContainerProps = {},\n ...props\n }) => {\n const { cssProps, nativeProps } = useSeparator<any>(props);\n\n return (\n <Box\n bgColor=\"surface-0\"\n borderRadius={8}\n w=\"full\"\n overflow=\"hidden\"\n mb={8}\n shadow=\"md\"\n {...cssProps}\n {...nativeProps}\n >\n {(!!title || !!rightElement) && (\n <Flex\n backgroundColor=\"surface-100\"\n borderTopLeftRadius={8}\n borderTopRightRadius={8}\n p={10}\n flexDirection=\"row\"\n alignItems=\"center\"\n h={58}\n justifyContent=\"space-between\"\n >\n {!!title && (\n <Heading\n as=\"h2\"\n fontSize=\"lg\"\n fontWeight=\"bold\"\n fontColor=\"black-alpha-90\"\n letterSpacing={0}\n fontFamily=\"Poppins,Helvetica,sans-serif\"\n m={0}\n p={0}\n >\n {title}\n </Heading>\n )}\n {rightElement}\n </Flex>\n )}\n\n <Flex p={10} flexDirection=\"column\" {...childrenContainerProps}>\n {children}\n </Flex>\n </Box>\n );\n};\n\nexport default Container;\n"],"names":["useSeparator","jsxs","Box","Flex","jsx","Heading"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,MAAM,YAAmE,CAAC;AAAA,EACI,KAAA;AAAA,EACA,YAAA;AAAA,EACA,QAAA;AAAA,EACA,yBAAyB,EAAC;AAAA,EAC1B,GAAG;AACP,CAAA,KAAM;AAC5E,EAAA,MAAM,EAAE,QAAA,EAAU,WAAA,EAAY,GAAIA,qBAAkB,KAAK,CAAA;AAEzD,EAAA,uBACIC,eAAA;AAAA,IAACC,aAAA;AAAA,IAAA;AAAA,MACG,OAAA,EAAQ,WAAA;AAAA,MACR,YAAA,EAAc,CAAA;AAAA,MACd,CAAA,EAAE,MAAA;AAAA,MACF,QAAA,EAAS,QAAA;AAAA,MACT,EAAA,EAAI,CAAA;AAAA,MACJ,MAAA,EAAO,IAAA;AAAA,MACN,GAAG,QAAA;AAAA,MACH,GAAG,WAAA;AAAA,MAEF,QAAA,EAAA;AAAA,QAAA,CAAA,CAAC,CAAC,KAAA,IAAS,CAAC,CAAC,YAAA,qBACXD,eAAA;AAAA,UAACE,eAAA;AAAA,UAAA;AAAA,YACG,eAAA,EAAgB,aAAA;AAAA,YAChB,mBAAA,EAAqB,CAAA;AAAA,YACrB,oBAAA,EAAsB,CAAA;AAAA,YACtB,CAAA,EAAG,EAAA;AAAA,YACH,aAAA,EAAc,KAAA;AAAA,YACd,UAAA,EAAW,QAAA;AAAA,YACX,CAAA,EAAG,EAAA;AAAA,YACH,cAAA,EAAe,eAAA;AAAA,YAEd,QAAA,EAAA;AAAA,cAAA,CAAC,CAAC,KAAA,oBACCC,cAAA;AAAA,gBAACC,oBAAA;AAAA,gBAAA;AAAA,kBACG,EAAA,EAAG,IAAA;AAAA,kBACH,QAAA,EAAS,IAAA;AAAA,kBACT,UAAA,EAAW,MAAA;AAAA,kBACX,SAAA,EAAU,gBAAA;AAAA,kBACV,aAAA,EAAe,CAAA;AAAA,kBACf,UAAA,EAAW,8BAAA;AAAA,kBACX,CAAA,EAAG,CAAA;AAAA,kBACH,CAAA,EAAG,CAAA;AAAA,kBAEF,QAAA,EAAA;AAAA;AAAA,eACL;AAAA,cAEH;AAAA;AAAA;AAAA,SACL;AAAA,wBAGJD,cAAA,CAACD,mBAAK,CAAA,EAAG,EAAA,EAAI,eAAc,QAAA,EAAU,GAAG,wBACnC,QAAA,EACL;AAAA;AAAA;AAAA,GACJ;AAER;;;;"}
|
|
@@ -57,6 +57,8 @@ import 'yup';
|
|
|
57
57
|
import '../../packages/types/src/Css/map/index.js';
|
|
58
58
|
import '../../packages/types/src/Theme/shadows.js';
|
|
59
59
|
import '../../packages/types/src/Theme/defaultTheme.js';
|
|
60
|
+
import '../../packages/types/src/Theme/alphaColors.js';
|
|
61
|
+
import '../../apps/mobile/src/Factory/helpers/cssVarMap.js';
|
|
60
62
|
import '../../apps/mobile/src/Factory/DimensionsContext.js';
|
|
61
63
|
import useSeparator from '../../apps/mobile/src/Factory/useSeparator.js';
|
|
62
64
|
import 'i18next';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.js","sources":["../../../../src/layout/Container/container.native.tsx"],"sourcesContent":["import React, { type FunctionComponent, type PropsWithChildren, type ReactNode } from \"react\";\nimport {Box, Flex, Heading} from \"../../_compat\";\nimport { useSeparator } from \"../../factory\";\nimport type { IContainerProps } from \"@lmb-it/kitsconcerto-types\";\n\n\n\nconst Container: FunctionComponent<PropsWithChildren<IContainerProps>> = ({\n title,\n rightElement,\n children,\n childrenContainerProps = {},\n ...props\n }) => {\n const { cssProps, nativeProps } = useSeparator<any>(props);\n\n return (\n <Box\n bgColor=\"surface-0\"\n borderRadius={8}\n w=\"full\"\n overflow=\"hidden\"\n mb={8}\n shadow=\"md\"\n {...cssProps}\n {...nativeProps}\n >\n {(!!title || !!rightElement) && (\n <Flex\n backgroundColor=\"surface-100\"\n borderTopLeftRadius={8}\n borderTopRightRadius={8}\n p={10}\n flexDirection=\"row\"\n alignItems=\"center\"\n h={58}\n justifyContent=\"space-between\"\n >\n {!!title && (\n <Heading\n as=\"h2\"\n fontSize=\"lg\"\n fontWeight=\"bold\"\n fontColor=\"black-alpha-90\"\n letterSpacing={0}\n fontFamily=\"Poppins,Helvetica,sans-serif\"\n m={0}\n p={0}\n >\n {title}\n </Heading>\n )}\n {rightElement}\n </Flex>\n )}\n\n <Flex p={10} flexDirection=\"column\" {...childrenContainerProps}>\n {children}\n </Flex>\n </Box>\n );\n};\n\nexport default Container;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"container.js","sources":["../../../../src/layout/Container/container.native.tsx"],"sourcesContent":["import React, { type FunctionComponent, type PropsWithChildren, type ReactNode } from \"react\";\nimport {Box, Flex, Heading} from \"../../_compat\";\nimport { useSeparator } from \"../../factory\";\nimport type { IContainerProps } from \"@lmb-it/kitsconcerto-types\";\n\n\n\nconst Container: FunctionComponent<PropsWithChildren<IContainerProps>> = ({\n title,\n rightElement,\n children,\n childrenContainerProps = {},\n ...props\n }) => {\n const { cssProps, nativeProps } = useSeparator<any>(props);\n\n return (\n <Box\n bgColor=\"surface-0\"\n borderRadius={8}\n w=\"full\"\n overflow=\"hidden\"\n mb={8}\n shadow=\"md\"\n {...cssProps}\n {...nativeProps}\n >\n {(!!title || !!rightElement) && (\n <Flex\n backgroundColor=\"surface-100\"\n borderTopLeftRadius={8}\n borderTopRightRadius={8}\n p={10}\n flexDirection=\"row\"\n alignItems=\"center\"\n h={58}\n justifyContent=\"space-between\"\n >\n {!!title && (\n <Heading\n as=\"h2\"\n fontSize=\"lg\"\n fontWeight=\"bold\"\n fontColor=\"black-alpha-90\"\n letterSpacing={0}\n fontFamily=\"Poppins,Helvetica,sans-serif\"\n m={0}\n p={0}\n >\n {title}\n </Heading>\n )}\n {rightElement}\n </Flex>\n )}\n\n <Flex p={10} flexDirection=\"column\" {...childrenContainerProps}>\n {children}\n </Flex>\n </Box>\n );\n};\n\nexport default Container;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,MAAM,YAAmE,CAAC;AAAA,EACI,KAAA;AAAA,EACA,YAAA;AAAA,EACA,QAAA;AAAA,EACA,yBAAyB,EAAC;AAAA,EAC1B,GAAG;AACP,CAAA,KAAM;AAC5E,EAAA,MAAM,EAAE,QAAA,EAAU,WAAA,EAAY,GAAI,aAAkB,KAAK,CAAA;AAEzD,EAAA,uBACI,IAAA;AAAA,IAAC,GAAA;AAAA,IAAA;AAAA,MACG,OAAA,EAAQ,WAAA;AAAA,MACR,YAAA,EAAc,CAAA;AAAA,MACd,CAAA,EAAE,MAAA;AAAA,MACF,QAAA,EAAS,QAAA;AAAA,MACT,EAAA,EAAI,CAAA;AAAA,MACJ,MAAA,EAAO,IAAA;AAAA,MACN,GAAG,QAAA;AAAA,MACH,GAAG,WAAA;AAAA,MAEF,QAAA,EAAA;AAAA,QAAA,CAAA,CAAC,CAAC,KAAA,IAAS,CAAC,CAAC,YAAA,qBACX,IAAA;AAAA,UAAC,IAAA;AAAA,UAAA;AAAA,YACG,eAAA,EAAgB,aAAA;AAAA,YAChB,mBAAA,EAAqB,CAAA;AAAA,YACrB,oBAAA,EAAsB,CAAA;AAAA,YACtB,CAAA,EAAG,EAAA;AAAA,YACH,aAAA,EAAc,KAAA;AAAA,YACd,UAAA,EAAW,QAAA;AAAA,YACX,CAAA,EAAG,EAAA;AAAA,YACH,cAAA,EAAe,eAAA;AAAA,YAEd,QAAA,EAAA;AAAA,cAAA,CAAC,CAAC,KAAA,oBACC,GAAA;AAAA,gBAAC,OAAA;AAAA,gBAAA;AAAA,kBACG,EAAA,EAAG,IAAA;AAAA,kBACH,QAAA,EAAS,IAAA;AAAA,kBACT,UAAA,EAAW,MAAA;AAAA,kBACX,SAAA,EAAU,gBAAA;AAAA,kBACV,aAAA,EAAe,CAAA;AAAA,kBACf,UAAA,EAAW,8BAAA;AAAA,kBACX,CAAA,EAAG,CAAA;AAAA,kBACH,CAAA,EAAG,CAAA;AAAA,kBAEF,QAAA,EAAA;AAAA;AAAA,eACL;AAAA,cAEH;AAAA;AAAA;AAAA,SACL;AAAA,wBAGJ,GAAA,CAAC,QAAK,CAAA,EAAG,EAAA,EAAI,eAAc,QAAA,EAAU,GAAG,wBACnC,QAAA,EACL;AAAA;AAAA;AAAA,GACJ;AAER;;;;"}
|
package/layout/Flex/index.cjs
CHANGED
|
@@ -61,6 +61,8 @@ require('yup');
|
|
|
61
61
|
require('../../packages/types/src/Css/map/index.cjs');
|
|
62
62
|
require('../../packages/types/src/Theme/shadows.cjs');
|
|
63
63
|
require('../../packages/types/src/Theme/defaultTheme.cjs');
|
|
64
|
+
require('../../packages/types/src/Theme/alphaColors.cjs');
|
|
65
|
+
require('../../apps/mobile/src/Factory/helpers/cssVarMap.cjs');
|
|
64
66
|
var useSeparator = require('../../apps/mobile/src/Factory/useSeparator.cjs');
|
|
65
67
|
require('../../apps/mobile/src/Factory/DimensionsContext.cjs');
|
|
66
68
|
require('i18next');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/layout/Flex/index.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IFlexComponent} from \"@lmb-it/kitsconcerto-types\";\n\n\nconst Flex = ({ className, children, ref, ...props }:PropsWithChildren<IFlexComponent>) => {\n const { cssProps, nativeProps } = useSeparator<Record<any, any>>(props);\n const { scrollable, entering, exiting, ...restNativeProps } = nativeProps;\n\n return (\n <ResponsiveElement\n ref={ref}\n scrollable={scrollable}\n entering={entering}\n exiting={exiting}\n additionalStyles={{\n display: \"flex\",\n flexDirection: \"row\",\n }}\n additionalClasses={className}\n cssProps={cssProps}\n nativeProps={restNativeProps}\n children={children}\n />\n );\n}\nFlex.displayName = \"Flex\";\nexport default Flex;\n"],"names":["useSeparator","jsx","ResponsiveElement"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../src/layout/Flex/index.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IFlexComponent} from \"@lmb-it/kitsconcerto-types\";\n\n\nconst Flex = ({ className, children, ref, ...props }:PropsWithChildren<IFlexComponent>) => {\n const { cssProps, nativeProps } = useSeparator<Record<any, any>>(props);\n const { scrollable, entering, exiting, ...restNativeProps } = nativeProps;\n\n return (\n <ResponsiveElement\n ref={ref}\n scrollable={scrollable}\n entering={entering}\n exiting={exiting}\n additionalStyles={{\n display: \"flex\",\n flexDirection: \"row\",\n }}\n additionalClasses={className}\n cssProps={cssProps}\n nativeProps={restNativeProps}\n children={children}\n />\n );\n}\nFlex.displayName = \"Flex\";\nexport default Flex;\n"],"names":["useSeparator","jsx","ResponsiveElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,IAAA,GAAO,CAAC,EAAE,SAAA,EAAW,UAAU,GAAA,EAAK,GAAG,OAAM,KAAwC;AACvF,EAAA,MAAM,EAAE,QAAA,EAAU,WAAA,EAAY,GAAIA,qBAA+B,KAAK,CAAA;AACtE,EAAA,MAAM,EAAE,UAAA,EAAY,QAAA,EAAU,OAAA,EAAS,GAAG,iBAAgB,GAAI,WAAA;AAE9D,EAAA,uBACIC,cAAA;AAAA,IAACC,yBAAA;AAAA,IAAA;AAAA,MACG,GAAA;AAAA,MACA,UAAA;AAAA,MACA,QAAA;AAAA,MACA,OAAA;AAAA,MACA,gBAAA,EAAkB;AAAA,QACd,OAAA,EAAS,MAAA;AAAA,QACT,aAAA,EAAe;AAAA,OACnB;AAAA,MACA,iBAAA,EAAmB,SAAA;AAAA,MACnB,QAAA;AAAA,MACA,WAAA,EAAa,eAAA;AAAA,MACb;AAAA;AAAA,GACJ;AAER;AACA,IAAA,CAAK,WAAA,GAAc,MAAA;;;;"}
|
package/layout/Flex/index.js
CHANGED
|
@@ -57,6 +57,8 @@ import 'yup';
|
|
|
57
57
|
import '../../packages/types/src/Css/map/index.js';
|
|
58
58
|
import '../../packages/types/src/Theme/shadows.js';
|
|
59
59
|
import '../../packages/types/src/Theme/defaultTheme.js';
|
|
60
|
+
import '../../packages/types/src/Theme/alphaColors.js';
|
|
61
|
+
import '../../apps/mobile/src/Factory/helpers/cssVarMap.js';
|
|
60
62
|
import useSeparator from '../../apps/mobile/src/Factory/useSeparator.js';
|
|
61
63
|
import '../../apps/mobile/src/Factory/DimensionsContext.js';
|
|
62
64
|
import 'i18next';
|
package/layout/Flex/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/layout/Flex/index.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IFlexComponent} from \"@lmb-it/kitsconcerto-types\";\n\n\nconst Flex = ({ className, children, ref, ...props }:PropsWithChildren<IFlexComponent>) => {\n const { cssProps, nativeProps } = useSeparator<Record<any, any>>(props);\n const { scrollable, entering, exiting, ...restNativeProps } = nativeProps;\n\n return (\n <ResponsiveElement\n ref={ref}\n scrollable={scrollable}\n entering={entering}\n exiting={exiting}\n additionalStyles={{\n display: \"flex\",\n flexDirection: \"row\",\n }}\n additionalClasses={className}\n cssProps={cssProps}\n nativeProps={restNativeProps}\n children={children}\n />\n );\n}\nFlex.displayName = \"Flex\";\nexport default Flex;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/layout/Flex/index.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IFlexComponent} from \"@lmb-it/kitsconcerto-types\";\n\n\nconst Flex = ({ className, children, ref, ...props }:PropsWithChildren<IFlexComponent>) => {\n const { cssProps, nativeProps } = useSeparator<Record<any, any>>(props);\n const { scrollable, entering, exiting, ...restNativeProps } = nativeProps;\n\n return (\n <ResponsiveElement\n ref={ref}\n scrollable={scrollable}\n entering={entering}\n exiting={exiting}\n additionalStyles={{\n display: \"flex\",\n flexDirection: \"row\",\n }}\n additionalClasses={className}\n cssProps={cssProps}\n nativeProps={restNativeProps}\n children={children}\n />\n );\n}\nFlex.displayName = \"Flex\";\nexport default Flex;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,IAAA,GAAO,CAAC,EAAE,SAAA,EAAW,UAAU,GAAA,EAAK,GAAG,OAAM,KAAwC;AACvF,EAAA,MAAM,EAAE,QAAA,EAAU,WAAA,EAAY,GAAI,aAA+B,KAAK,CAAA;AACtE,EAAA,MAAM,EAAE,UAAA,EAAY,QAAA,EAAU,OAAA,EAAS,GAAG,iBAAgB,GAAI,WAAA;AAE9D,EAAA,uBACI,GAAA;AAAA,IAAC,iBAAA;AAAA,IAAA;AAAA,MACG,GAAA;AAAA,MACA,UAAA;AAAA,MACA,QAAA;AAAA,MACA,OAAA;AAAA,MACA,gBAAA,EAAkB;AAAA,QACd,OAAA,EAAS,MAAA;AAAA,QACT,aAAA,EAAe;AAAA,OACnB;AAAA,MACA,iBAAA,EAAmB,SAAA;AAAA,MACnB,QAAA;AAAA,MACA,WAAA,EAAa,eAAA;AAAA,MACb;AAAA;AAAA,GACJ;AAER;AACA,IAAA,CAAK,WAAA,GAAc,MAAA;;;;"}
|
package/layout/HStack/index.cjs
CHANGED
|
@@ -61,6 +61,8 @@ require('yup');
|
|
|
61
61
|
require('../../packages/types/src/Css/map/index.cjs');
|
|
62
62
|
require('../../packages/types/src/Theme/shadows.cjs');
|
|
63
63
|
require('../../packages/types/src/Theme/defaultTheme.cjs');
|
|
64
|
+
require('../../packages/types/src/Theme/alphaColors.cjs');
|
|
65
|
+
require('../../apps/mobile/src/Factory/helpers/cssVarMap.cjs');
|
|
64
66
|
var useSeparator = require('../../apps/mobile/src/Factory/useSeparator.cjs');
|
|
65
67
|
require('../../apps/mobile/src/Factory/DimensionsContext.cjs');
|
|
66
68
|
require('i18next');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/layout/HStack/index.native.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IStackProps, IStyleClasses} from \"@lmb-it/kitsconcerto-types\";\n\ntype IsolatedStack = Omit<IStackProps, keyof IStyleClasses>;\n\n/**\n * Maps the `space` prop to a gap value in dp. Mirrors the Tailwind\n * `gap-1 … gap-8` scale used by the old Gluestack-based hstack styles\n * so visual spacing stays identical for every existing caller.\n */\nconst SPACE_TO_GAP: Record<NonNullable<IStackProps[\"space\"]>, number> = {\n xs: 4,\n sm: 8,\n md: 12,\n lg: 16,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 28,\n \"4xl\": 32,\n};\n\n/**\n * HStack (native)\n *\n * Lays children out in a horizontal row with a gap derived from `space`.\n *\n * Implementation note: we render through `ResponsiveElement as=\"Box\"`\n * (a plain React Native View) and force `flexDirection` + `gap` via\n * `cssProps`. The previous implementation delegated to a Gluestack\n * component that applied layout through Nativewind `className` strings\n * (\"flex-row gap-1\") — when Nativewind's class interpreter isn't active\n * across the yalc package boundary, those classes were ignored and the\n * underlying View fell back to its RN default `flexDirection: 'column'`\n * (children stacked vertically). Forcing the layout here via native\n * style props removes that runtime-config dependency entirely.\n *\n * If a caller genuinely wants a different direction, their own\n * `flexDirection=` / `gap=` props (harvested by `useSeparator` into\n * `cssProps`) spread AFTER the defaults and win.\n */\nconst HStack: React.FC<PropsWithChildren<IStackProps>> = (props) => {\n const {cssProps, nativeProps} = useSeparator<IStackProps>(props);\n const {\n space = \"md\",\n reversed = false,\n scrollable,\n children,\n entering,\n exiting,\n ...rest\n } = nativeProps;\n\n return (\n <ResponsiveElement<IsolatedStack>\n ref={props.ref}\n as=\"Box\"\n scrollable={scrollable}\n entering={entering}\n exiting={exiting}\n cssProps={{\n flexDirection: reversed ? \"row-reverse\" : \"row\",\n gap: SPACE_TO_GAP[space],\n ...cssProps,\n }}\n //@ts-ignore\n nativeProps={rest}\n >\n {children}\n </ResponsiveElement>\n );\n};\n\nexport default HStack;\n"],"names":["useSeparator","jsx","ResponsiveElement"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../src/layout/HStack/index.native.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IStackProps, IStyleClasses} from \"@lmb-it/kitsconcerto-types\";\n\ntype IsolatedStack = Omit<IStackProps, keyof IStyleClasses>;\n\n/**\n * Maps the `space` prop to a gap value in dp. Mirrors the Tailwind\n * `gap-1 … gap-8` scale used by the old Gluestack-based hstack styles\n * so visual spacing stays identical for every existing caller.\n */\nconst SPACE_TO_GAP: Record<NonNullable<IStackProps[\"space\"]>, number> = {\n xs: 4,\n sm: 8,\n md: 12,\n lg: 16,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 28,\n \"4xl\": 32,\n};\n\n/**\n * HStack (native)\n *\n * Lays children out in a horizontal row with a gap derived from `space`.\n *\n * Implementation note: we render through `ResponsiveElement as=\"Box\"`\n * (a plain React Native View) and force `flexDirection` + `gap` via\n * `cssProps`. The previous implementation delegated to a Gluestack\n * component that applied layout through Nativewind `className` strings\n * (\"flex-row gap-1\") — when Nativewind's class interpreter isn't active\n * across the yalc package boundary, those classes were ignored and the\n * underlying View fell back to its RN default `flexDirection: 'column'`\n * (children stacked vertically). Forcing the layout here via native\n * style props removes that runtime-config dependency entirely.\n *\n * If a caller genuinely wants a different direction, their own\n * `flexDirection=` / `gap=` props (harvested by `useSeparator` into\n * `cssProps`) spread AFTER the defaults and win.\n */\nconst HStack: React.FC<PropsWithChildren<IStackProps>> = (props) => {\n const {cssProps, nativeProps} = useSeparator<IStackProps>(props);\n const {\n space = \"md\",\n reversed = false,\n scrollable,\n children,\n entering,\n exiting,\n ...rest\n } = nativeProps;\n\n return (\n <ResponsiveElement<IsolatedStack>\n ref={props.ref}\n as=\"Box\"\n scrollable={scrollable}\n entering={entering}\n exiting={exiting}\n cssProps={{\n flexDirection: reversed ? \"row-reverse\" : \"row\",\n gap: SPACE_TO_GAP[space],\n ...cssProps,\n }}\n //@ts-ignore\n nativeProps={rest}\n >\n {children}\n </ResponsiveElement>\n );\n};\n\nexport default HStack;\n"],"names":["useSeparator","jsx","ResponsiveElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,MAAM,YAAA,GAAkE;AAAA,EACpE,EAAA,EAAI,CAAA;AAAA,EACJ,EAAA,EAAI,CAAA;AAAA,EACJ,EAAA,EAAI,EAAA;AAAA,EACJ,EAAA,EAAI,EAAA;AAAA,EACJ,EAAA,EAAI,EAAA;AAAA,EACJ,KAAA,EAAO,EAAA;AAAA,EACP,KAAA,EAAO,EAAA;AAAA,EACP,KAAA,EAAO;AACX,CAAA;AAqBA,MAAM,MAAA,GAAmD,CAAC,KAAA,KAAU;AAChE,EAAA,MAAM,EAAC,QAAA,EAAU,WAAA,EAAW,GAAIA,qBAA0B,KAAK,CAAA;AAC/D,EAAA,MAAM;AAAA,IACF,KAAA,GAAQ,IAAA;AAAA,IACR,QAAA,GAAW,KAAA;AAAA,IACX,UAAA;AAAA,IACA,QAAA;AAAA,IACA,QAAA;AAAA,IACA,OAAA;AAAA,IACA,GAAG;AAAA,GACP,GAAI,WAAA;AAEJ,EAAA,uBACIC,cAAA;AAAA,IAACC,yBAAA;AAAA,IAAA;AAAA,MACG,KAAK,KAAA,CAAM,GAAA;AAAA,MACX,EAAA,EAAG,KAAA;AAAA,MACH,UAAA;AAAA,MACA,QAAA;AAAA,MACA,OAAA;AAAA,MACA,QAAA,EAAU;AAAA,QACN,aAAA,EAAe,WAAW,aAAA,GAAgB,KAAA;AAAA,QAC1C,GAAA,EAAK,aAAa,KAAK,CAAA;AAAA,QACvB,GAAG;AAAA,OACP;AAAA,MAEA,WAAA,EAAa,IAAA;AAAA,MAEZ;AAAA;AAAA,GACL;AAER;;;;"}
|
package/layout/HStack/index.js
CHANGED
|
@@ -57,6 +57,8 @@ import 'yup';
|
|
|
57
57
|
import '../../packages/types/src/Css/map/index.js';
|
|
58
58
|
import '../../packages/types/src/Theme/shadows.js';
|
|
59
59
|
import '../../packages/types/src/Theme/defaultTheme.js';
|
|
60
|
+
import '../../packages/types/src/Theme/alphaColors.js';
|
|
61
|
+
import '../../apps/mobile/src/Factory/helpers/cssVarMap.js';
|
|
60
62
|
import useSeparator from '../../apps/mobile/src/Factory/useSeparator.js';
|
|
61
63
|
import '../../apps/mobile/src/Factory/DimensionsContext.js';
|
|
62
64
|
import 'i18next';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/layout/HStack/index.native.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IStackProps, IStyleClasses} from \"@lmb-it/kitsconcerto-types\";\n\ntype IsolatedStack = Omit<IStackProps, keyof IStyleClasses>;\n\n/**\n * Maps the `space` prop to a gap value in dp. Mirrors the Tailwind\n * `gap-1 … gap-8` scale used by the old Gluestack-based hstack styles\n * so visual spacing stays identical for every existing caller.\n */\nconst SPACE_TO_GAP: Record<NonNullable<IStackProps[\"space\"]>, number> = {\n xs: 4,\n sm: 8,\n md: 12,\n lg: 16,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 28,\n \"4xl\": 32,\n};\n\n/**\n * HStack (native)\n *\n * Lays children out in a horizontal row with a gap derived from `space`.\n *\n * Implementation note: we render through `ResponsiveElement as=\"Box\"`\n * (a plain React Native View) and force `flexDirection` + `gap` via\n * `cssProps`. The previous implementation delegated to a Gluestack\n * component that applied layout through Nativewind `className` strings\n * (\"flex-row gap-1\") — when Nativewind's class interpreter isn't active\n * across the yalc package boundary, those classes were ignored and the\n * underlying View fell back to its RN default `flexDirection: 'column'`\n * (children stacked vertically). Forcing the layout here via native\n * style props removes that runtime-config dependency entirely.\n *\n * If a caller genuinely wants a different direction, their own\n * `flexDirection=` / `gap=` props (harvested by `useSeparator` into\n * `cssProps`) spread AFTER the defaults and win.\n */\nconst HStack: React.FC<PropsWithChildren<IStackProps>> = (props) => {\n const {cssProps, nativeProps} = useSeparator<IStackProps>(props);\n const {\n space = \"md\",\n reversed = false,\n scrollable,\n children,\n entering,\n exiting,\n ...rest\n } = nativeProps;\n\n return (\n <ResponsiveElement<IsolatedStack>\n ref={props.ref}\n as=\"Box\"\n scrollable={scrollable}\n entering={entering}\n exiting={exiting}\n cssProps={{\n flexDirection: reversed ? \"row-reverse\" : \"row\",\n gap: SPACE_TO_GAP[space],\n ...cssProps,\n }}\n //@ts-ignore\n nativeProps={rest}\n >\n {children}\n </ResponsiveElement>\n );\n};\n\nexport default HStack;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/layout/HStack/index.native.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IStackProps, IStyleClasses} from \"@lmb-it/kitsconcerto-types\";\n\ntype IsolatedStack = Omit<IStackProps, keyof IStyleClasses>;\n\n/**\n * Maps the `space` prop to a gap value in dp. Mirrors the Tailwind\n * `gap-1 … gap-8` scale used by the old Gluestack-based hstack styles\n * so visual spacing stays identical for every existing caller.\n */\nconst SPACE_TO_GAP: Record<NonNullable<IStackProps[\"space\"]>, number> = {\n xs: 4,\n sm: 8,\n md: 12,\n lg: 16,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 28,\n \"4xl\": 32,\n};\n\n/**\n * HStack (native)\n *\n * Lays children out in a horizontal row with a gap derived from `space`.\n *\n * Implementation note: we render through `ResponsiveElement as=\"Box\"`\n * (a plain React Native View) and force `flexDirection` + `gap` via\n * `cssProps`. The previous implementation delegated to a Gluestack\n * component that applied layout through Nativewind `className` strings\n * (\"flex-row gap-1\") — when Nativewind's class interpreter isn't active\n * across the yalc package boundary, those classes were ignored and the\n * underlying View fell back to its RN default `flexDirection: 'column'`\n * (children stacked vertically). Forcing the layout here via native\n * style props removes that runtime-config dependency entirely.\n *\n * If a caller genuinely wants a different direction, their own\n * `flexDirection=` / `gap=` props (harvested by `useSeparator` into\n * `cssProps`) spread AFTER the defaults and win.\n */\nconst HStack: React.FC<PropsWithChildren<IStackProps>> = (props) => {\n const {cssProps, nativeProps} = useSeparator<IStackProps>(props);\n const {\n space = \"md\",\n reversed = false,\n scrollable,\n children,\n entering,\n exiting,\n ...rest\n } = nativeProps;\n\n return (\n <ResponsiveElement<IsolatedStack>\n ref={props.ref}\n as=\"Box\"\n scrollable={scrollable}\n entering={entering}\n exiting={exiting}\n cssProps={{\n flexDirection: reversed ? \"row-reverse\" : \"row\",\n gap: SPACE_TO_GAP[space],\n ...cssProps,\n }}\n //@ts-ignore\n nativeProps={rest}\n >\n {children}\n </ResponsiveElement>\n );\n};\n\nexport default HStack;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,MAAM,YAAA,GAAkE;AAAA,EACpE,EAAA,EAAI,CAAA;AAAA,EACJ,EAAA,EAAI,CAAA;AAAA,EACJ,EAAA,EAAI,EAAA;AAAA,EACJ,EAAA,EAAI,EAAA;AAAA,EACJ,EAAA,EAAI,EAAA;AAAA,EACJ,KAAA,EAAO,EAAA;AAAA,EACP,KAAA,EAAO,EAAA;AAAA,EACP,KAAA,EAAO;AACX,CAAA;AAqBA,MAAM,MAAA,GAAmD,CAAC,KAAA,KAAU;AAChE,EAAA,MAAM,EAAC,QAAA,EAAU,WAAA,EAAW,GAAI,aAA0B,KAAK,CAAA;AAC/D,EAAA,MAAM;AAAA,IACF,KAAA,GAAQ,IAAA;AAAA,IACR,QAAA,GAAW,KAAA;AAAA,IACX,UAAA;AAAA,IACA,QAAA;AAAA,IACA,QAAA;AAAA,IACA,OAAA;AAAA,IACA,GAAG;AAAA,GACP,GAAI,WAAA;AAEJ,EAAA,uBACI,GAAA;AAAA,IAAC,iBAAA;AAAA,IAAA;AAAA,MACG,KAAK,KAAA,CAAM,GAAA;AAAA,MACX,EAAA,EAAG,KAAA;AAAA,MACH,UAAA;AAAA,MACA,QAAA;AAAA,MACA,OAAA;AAAA,MACA,QAAA,EAAU;AAAA,QACN,aAAA,EAAe,WAAW,aAAA,GAAgB,KAAA;AAAA,QAC1C,GAAA,EAAK,aAAa,KAAK,CAAA;AAAA,QACvB,GAAG;AAAA,OACP;AAAA,MAEA,WAAA,EAAa,IAAA;AAAA,MAEZ;AAAA;AAAA,GACL;AAER;;;;"}
|
package/layout/List/index.cjs
CHANGED
|
@@ -61,6 +61,8 @@ require('yup');
|
|
|
61
61
|
require('../../packages/types/src/Css/map/index.cjs');
|
|
62
62
|
require('../../packages/types/src/Theme/shadows.cjs');
|
|
63
63
|
require('../../packages/types/src/Theme/defaultTheme.cjs');
|
|
64
|
+
require('../../packages/types/src/Theme/alphaColors.cjs');
|
|
65
|
+
require('../../apps/mobile/src/Factory/helpers/cssVarMap.cjs');
|
|
64
66
|
var useSeparator = require('../../apps/mobile/src/Factory/useSeparator.cjs');
|
|
65
67
|
require('../../apps/mobile/src/Factory/DimensionsContext.cjs');
|
|
66
68
|
require('i18next');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/layout/List/index.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from 'react'\n\n\nimport type {IFlexComponent} from \"@lmb-it/kitsconcerto-types\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\n\nconst List =\n ({className, children, ref, ...props}: PropsWithChildren<IFlexComponent>) => {\n\n const {cssProps, nativeProps} = useSeparator<any>(props)\n\n return (\n <ResponsiveElement ref={ref}\n additionalClasses={className}\n cssProps={cssProps}\n nativeProps={nativeProps}\n as={\"List\"}\n children={children}/>\n )\n }\n\n\nexport default List;\n// export default React.memo(Flex, (prevProps, nextProps) => {\n // return shallowEqual(nextProps, prevProps);\n// })\n"],"names":["useSeparator","jsx","ResponsiveElement"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../src/layout/List/index.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from 'react'\n\n\nimport type {IFlexComponent} from \"@lmb-it/kitsconcerto-types\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\n\nconst List =\n ({className, children, ref, ...props}: PropsWithChildren<IFlexComponent>) => {\n\n const {cssProps, nativeProps} = useSeparator<any>(props)\n\n return (\n <ResponsiveElement ref={ref}\n additionalClasses={className}\n cssProps={cssProps}\n nativeProps={nativeProps}\n as={\"List\"}\n children={children}/>\n )\n }\n\n\nexport default List;\n// export default React.memo(Flex, (prevProps, nextProps) => {\n // return shallowEqual(nextProps, prevProps);\n// })\n"],"names":["useSeparator","jsx","ResponsiveElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,MAAM,IAAA,GACF,CAAC,EAAC,SAAA,EAAW,UAAU,GAAA,EAAK,GAAG,OAAK,KAAyC;AAEzE,EAAA,MAAM,EAAC,QAAA,EAAU,WAAA,EAAW,GAAKA,qBAAkB,KAAK,CAAA;AAExD,EAAA,uBACIC,cAAA;AAAA,IAACC,yBAAA;AAAA,IAAA;AAAA,MAAkB,GAAA;AAAA,MACA,iBAAA,EAAmB,SAAA;AAAA,MACnB,QAAA;AAAA,MACA,WAAA;AAAA,MACA,EAAA,EAAI,MAAA;AAAA,MACJ;AAAA;AAAA,GAAmB;AAE9C;;;;"}
|
package/layout/List/index.js
CHANGED
|
@@ -57,6 +57,8 @@ import 'yup';
|
|
|
57
57
|
import '../../packages/types/src/Css/map/index.js';
|
|
58
58
|
import '../../packages/types/src/Theme/shadows.js';
|
|
59
59
|
import '../../packages/types/src/Theme/defaultTheme.js';
|
|
60
|
+
import '../../packages/types/src/Theme/alphaColors.js';
|
|
61
|
+
import '../../apps/mobile/src/Factory/helpers/cssVarMap.js';
|
|
60
62
|
import useSeparator from '../../apps/mobile/src/Factory/useSeparator.js';
|
|
61
63
|
import '../../apps/mobile/src/Factory/DimensionsContext.js';
|
|
62
64
|
import 'i18next';
|
package/layout/List/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/layout/List/index.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from 'react'\n\n\nimport type {IFlexComponent} from \"@lmb-it/kitsconcerto-types\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\n\nconst List =\n ({className, children, ref, ...props}: PropsWithChildren<IFlexComponent>) => {\n\n const {cssProps, nativeProps} = useSeparator<any>(props)\n\n return (\n <ResponsiveElement ref={ref}\n additionalClasses={className}\n cssProps={cssProps}\n nativeProps={nativeProps}\n as={\"List\"}\n children={children}/>\n )\n }\n\n\nexport default List;\n// export default React.memo(Flex, (prevProps, nextProps) => {\n // return shallowEqual(nextProps, prevProps);\n// })\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/layout/List/index.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from 'react'\n\n\nimport type {IFlexComponent} from \"@lmb-it/kitsconcerto-types\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\n\nconst List =\n ({className, children, ref, ...props}: PropsWithChildren<IFlexComponent>) => {\n\n const {cssProps, nativeProps} = useSeparator<any>(props)\n\n return (\n <ResponsiveElement ref={ref}\n additionalClasses={className}\n cssProps={cssProps}\n nativeProps={nativeProps}\n as={\"List\"}\n children={children}/>\n )\n }\n\n\nexport default List;\n// export default React.memo(Flex, (prevProps, nextProps) => {\n // return shallowEqual(nextProps, prevProps);\n// })\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,MAAM,IAAA,GACF,CAAC,EAAC,SAAA,EAAW,UAAU,GAAA,EAAK,GAAG,OAAK,KAAyC;AAEzE,EAAA,MAAM,EAAC,QAAA,EAAU,WAAA,EAAW,GAAK,aAAkB,KAAK,CAAA;AAExD,EAAA,uBACI,GAAA;AAAA,IAAC,iBAAA;AAAA,IAAA;AAAA,MAAkB,GAAA;AAAA,MACA,iBAAA,EAAmB,SAAA;AAAA,MACnB,QAAA;AAAA,MACA,WAAA;AAAA,MACA,EAAA,EAAI,MAAA;AAAA,MACJ;AAAA;AAAA,GAAmB;AAE9C;;;;"}
|
|
@@ -61,6 +61,8 @@ require('yup');
|
|
|
61
61
|
require('../../packages/types/src/Css/map/index.cjs');
|
|
62
62
|
require('../../packages/types/src/Theme/shadows.cjs');
|
|
63
63
|
require('../../packages/types/src/Theme/defaultTheme.cjs');
|
|
64
|
+
require('../../packages/types/src/Theme/alphaColors.cjs');
|
|
65
|
+
require('../../apps/mobile/src/Factory/helpers/cssVarMap.cjs');
|
|
64
66
|
var useSeparator = require('../../apps/mobile/src/Factory/useSeparator.cjs');
|
|
65
67
|
require('../../apps/mobile/src/Factory/DimensionsContext.cjs');
|
|
66
68
|
require('i18next');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/layout/ListItem/index.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from 'react'\n\n\nimport type {IFlexComponent} from \"@lmb-it/kitsconcerto-types\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\n\nconst ListItem = ({className, children, ref, ...props}:PropsWithChildren<IFlexComponent>) => {\n\n const {cssProps, nativeProps} = useSeparator<any>(props)\n\n return (\n <ResponsiveElement ref={ref}\n additionalClasses={className}\n cssProps={cssProps}\n nativeProps={nativeProps}\n as={\"ListItem\"}\n children={children}/>\n )\n}\n\nexport default ListItem;\n// export default React.memo(Flex, (prevProps, nextProps) => {\n // return shallowEqual(nextProps, prevProps);\n// })\n"],"names":["useSeparator","jsx","ResponsiveElement"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../src/layout/ListItem/index.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from 'react'\n\n\nimport type {IFlexComponent} from \"@lmb-it/kitsconcerto-types\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\n\nconst ListItem = ({className, children, ref, ...props}:PropsWithChildren<IFlexComponent>) => {\n\n const {cssProps, nativeProps} = useSeparator<any>(props)\n\n return (\n <ResponsiveElement ref={ref}\n additionalClasses={className}\n cssProps={cssProps}\n nativeProps={nativeProps}\n as={\"ListItem\"}\n children={children}/>\n )\n}\n\nexport default ListItem;\n// export default React.memo(Flex, (prevProps, nextProps) => {\n // return shallowEqual(nextProps, prevProps);\n// })\n"],"names":["useSeparator","jsx","ResponsiveElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,MAAM,QAAA,GAAW,CAAC,EAAC,SAAA,EAAW,UAAU,GAAA,EAAK,GAAG,OAAK,KAAwC;AAEzF,EAAA,MAAM,EAAC,QAAA,EAAU,WAAA,EAAW,GAAKA,qBAAkB,KAAK,CAAA;AAExD,EAAA,uBACIC,cAAA;AAAA,IAACC,yBAAA;AAAA,IAAA;AAAA,MAAkB,GAAA;AAAA,MACA,iBAAA,EAAmB,SAAA;AAAA,MACnB,QAAA;AAAA,MACA,WAAA;AAAA,MACA,EAAA,EAAI,UAAA;AAAA,MACJ;AAAA;AAAA,GAAmB;AAE9C;;;;"}
|
package/layout/ListItem/index.js
CHANGED
|
@@ -57,6 +57,8 @@ import 'yup';
|
|
|
57
57
|
import '../../packages/types/src/Css/map/index.js';
|
|
58
58
|
import '../../packages/types/src/Theme/shadows.js';
|
|
59
59
|
import '../../packages/types/src/Theme/defaultTheme.js';
|
|
60
|
+
import '../../packages/types/src/Theme/alphaColors.js';
|
|
61
|
+
import '../../apps/mobile/src/Factory/helpers/cssVarMap.js';
|
|
60
62
|
import useSeparator from '../../apps/mobile/src/Factory/useSeparator.js';
|
|
61
63
|
import '../../apps/mobile/src/Factory/DimensionsContext.js';
|
|
62
64
|
import 'i18next';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/layout/ListItem/index.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from 'react'\n\n\nimport type {IFlexComponent} from \"@lmb-it/kitsconcerto-types\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\n\nconst ListItem = ({className, children, ref, ...props}:PropsWithChildren<IFlexComponent>) => {\n\n const {cssProps, nativeProps} = useSeparator<any>(props)\n\n return (\n <ResponsiveElement ref={ref}\n additionalClasses={className}\n cssProps={cssProps}\n nativeProps={nativeProps}\n as={\"ListItem\"}\n children={children}/>\n )\n}\n\nexport default ListItem;\n// export default React.memo(Flex, (prevProps, nextProps) => {\n // return shallowEqual(nextProps, prevProps);\n// })\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/layout/ListItem/index.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from 'react'\n\n\nimport type {IFlexComponent} from \"@lmb-it/kitsconcerto-types\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\n\nconst ListItem = ({className, children, ref, ...props}:PropsWithChildren<IFlexComponent>) => {\n\n const {cssProps, nativeProps} = useSeparator<any>(props)\n\n return (\n <ResponsiveElement ref={ref}\n additionalClasses={className}\n cssProps={cssProps}\n nativeProps={nativeProps}\n as={\"ListItem\"}\n children={children}/>\n )\n}\n\nexport default ListItem;\n// export default React.memo(Flex, (prevProps, nextProps) => {\n // return shallowEqual(nextProps, prevProps);\n// })\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,MAAM,QAAA,GAAW,CAAC,EAAC,SAAA,EAAW,UAAU,GAAA,EAAK,GAAG,OAAK,KAAwC;AAEzF,EAAA,MAAM,EAAC,QAAA,EAAU,WAAA,EAAW,GAAK,aAAkB,KAAK,CAAA;AAExD,EAAA,uBACI,GAAA;AAAA,IAAC,iBAAA;AAAA,IAAA;AAAA,MAAkB,GAAA;AAAA,MACA,iBAAA,EAAmB,SAAA;AAAA,MACnB,QAAA;AAAA,MACA,WAAA;AAAA,MACA,EAAA,EAAI,UAAA;AAAA,MACJ;AAAA;AAAA,GAAmB;AAE9C;;;;"}
|
|
@@ -61,6 +61,8 @@ require('yup');
|
|
|
61
61
|
require('../../packages/types/src/Css/map/index.cjs');
|
|
62
62
|
require('../../packages/types/src/Theme/shadows.cjs');
|
|
63
63
|
require('../../packages/types/src/Theme/defaultTheme.cjs');
|
|
64
|
+
require('../../packages/types/src/Theme/alphaColors.cjs');
|
|
65
|
+
require('../../apps/mobile/src/Factory/helpers/cssVarMap.cjs');
|
|
64
66
|
var useSeparator = require('../../apps/mobile/src/Factory/useSeparator.cjs');
|
|
65
67
|
require('../../apps/mobile/src/Factory/DimensionsContext.cjs');
|
|
66
68
|
require('i18next');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/layout/ScrollView/index.native.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IScrollViewComponent} from \"@lmb-it/kitsconcerto-types\";\n\nconst KitsScrollView = ({children, ref, ...props}: PropsWithChildren<IScrollViewComponent>) => {\n const {cssProps, nativeProps} = useSeparator<any>(props);\n\n return (\n <ResponsiveElement\n ref={ref}\n as={\"ScrollView\"}\n cssProps={cssProps}\n nativeProps={nativeProps}\n children={children}\n />\n );\n};\n\nexport default KitsScrollView;\n"],"names":["useSeparator","jsx","ResponsiveElement"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../src/layout/ScrollView/index.native.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IScrollViewComponent} from \"@lmb-it/kitsconcerto-types\";\n\nconst KitsScrollView = ({children, ref, ...props}: PropsWithChildren<IScrollViewComponent>) => {\n const {cssProps, nativeProps} = useSeparator<any>(props);\n\n return (\n <ResponsiveElement\n ref={ref}\n as={\"ScrollView\"}\n cssProps={cssProps}\n nativeProps={nativeProps}\n children={children}\n />\n );\n};\n\nexport default KitsScrollView;\n"],"names":["useSeparator","jsx","ResponsiveElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,iBAAiB,CAAC,EAAC,UAAU,GAAA,EAAK,GAAG,OAAK,KAA+C;AAC3F,EAAA,MAAM,EAAC,QAAA,EAAU,WAAA,EAAW,GAAIA,qBAAkB,KAAK,CAAA;AAEvD,EAAA,uBACIC,cAAA;AAAA,IAACC,yBAAA;AAAA,IAAA;AAAA,MACG,GAAA;AAAA,MACA,EAAA,EAAI,YAAA;AAAA,MACJ,QAAA;AAAA,MACA,WAAA;AAAA,MACA;AAAA;AAAA,GACJ;AAER;;;;"}
|
|
@@ -57,6 +57,8 @@ import 'yup';
|
|
|
57
57
|
import '../../packages/types/src/Css/map/index.js';
|
|
58
58
|
import '../../packages/types/src/Theme/shadows.js';
|
|
59
59
|
import '../../packages/types/src/Theme/defaultTheme.js';
|
|
60
|
+
import '../../packages/types/src/Theme/alphaColors.js';
|
|
61
|
+
import '../../apps/mobile/src/Factory/helpers/cssVarMap.js';
|
|
60
62
|
import useSeparator from '../../apps/mobile/src/Factory/useSeparator.js';
|
|
61
63
|
import '../../apps/mobile/src/Factory/DimensionsContext.js';
|
|
62
64
|
import 'i18next';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/layout/ScrollView/index.native.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IScrollViewComponent} from \"@lmb-it/kitsconcerto-types\";\n\nconst KitsScrollView = ({children, ref, ...props}: PropsWithChildren<IScrollViewComponent>) => {\n const {cssProps, nativeProps} = useSeparator<any>(props);\n\n return (\n <ResponsiveElement\n ref={ref}\n as={\"ScrollView\"}\n cssProps={cssProps}\n nativeProps={nativeProps}\n children={children}\n />\n );\n};\n\nexport default KitsScrollView;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/layout/ScrollView/index.native.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IScrollViewComponent} from \"@lmb-it/kitsconcerto-types\";\n\nconst KitsScrollView = ({children, ref, ...props}: PropsWithChildren<IScrollViewComponent>) => {\n const {cssProps, nativeProps} = useSeparator<any>(props);\n\n return (\n <ResponsiveElement\n ref={ref}\n as={\"ScrollView\"}\n cssProps={cssProps}\n nativeProps={nativeProps}\n children={children}\n />\n );\n};\n\nexport default KitsScrollView;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,iBAAiB,CAAC,EAAC,UAAU,GAAA,EAAK,GAAG,OAAK,KAA+C;AAC3F,EAAA,MAAM,EAAC,QAAA,EAAU,WAAA,EAAW,GAAI,aAAkB,KAAK,CAAA;AAEvD,EAAA,uBACI,GAAA;AAAA,IAAC,iBAAA;AAAA,IAAA;AAAA,MACG,GAAA;AAAA,MACA,EAAA,EAAI,YAAA;AAAA,MACJ,QAAA;AAAA,MACA,WAAA;AAAA,MACA;AAAA;AAAA,GACJ;AAER;;;;"}
|
package/layout/VStack/index.cjs
CHANGED
|
@@ -61,6 +61,8 @@ require('yup');
|
|
|
61
61
|
require('../../packages/types/src/Css/map/index.cjs');
|
|
62
62
|
require('../../packages/types/src/Theme/shadows.cjs');
|
|
63
63
|
require('../../packages/types/src/Theme/defaultTheme.cjs');
|
|
64
|
+
require('../../packages/types/src/Theme/alphaColors.cjs');
|
|
65
|
+
require('../../apps/mobile/src/Factory/helpers/cssVarMap.cjs');
|
|
64
66
|
var useSeparator = require('../../apps/mobile/src/Factory/useSeparator.cjs');
|
|
65
67
|
require('../../apps/mobile/src/Factory/DimensionsContext.cjs');
|
|
66
68
|
require('i18next');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../src/layout/VStack/index.native.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IStackProps, IStyleClasses} from \"@lmb-it/kitsconcerto-types\";\n\ntype IsolatedStack = Omit<IStackProps, keyof IStyleClasses>;\n\n/**\n * Maps the `space` prop to a gap value in dp. Matches the HStack scale.\n */\nconst SPACE_TO_GAP: Record<NonNullable<IStackProps[\"space\"]>, number> = {\n xs: 4,\n sm: 8,\n md: 12,\n lg: 16,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 28,\n \"4xl\": 32,\n};\n\n/**\n * VStack (native)\n *\n * Lays children out in a vertical column with a gap derived from `space`.\n *\n * Implementation note: identical rationale to HStack — we render through\n * `ResponsiveElement as=\"Box\"` (a plain React Native View) and force\n * `flexDirection: 'column'` + `gap` via `cssProps` instead of routing\n * through a Nativewind-classname Gluestack component that isn't reliable\n * across the yalc package boundary.\n *\n * Consumer's own `flexDirection=` / `gap=` props (passed via cssProps)\n * spread after the defaults and win when explicitly set.\n */\nconst VStack: React.FC<PropsWithChildren<IStackProps>> = (props) => {\n const {cssProps, nativeProps} = useSeparator<IStackProps>(props);\n const {\n space = \"md\",\n reversed = false,\n scrollable,\n children,\n style,\n entering,\n exiting,\n ...rest\n } = nativeProps;\n\n return (\n <ResponsiveElement<IsolatedStack>\n ref={props.ref}\n as=\"Box\"\n scrollable={scrollable}\n entering={entering}\n exiting={exiting}\n cssProps={{\n flexDirection: reversed ? \"column-reverse\" : \"column\",\n gap: SPACE_TO_GAP[space],\n ...cssProps,\n }}\n nativeProps={rest}\n >\n {children}\n </ResponsiveElement>\n );\n};\n\nexport default VStack;\n"],"names":["useSeparator","jsx","ResponsiveElement"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../src/layout/VStack/index.native.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IStackProps, IStyleClasses} from \"@lmb-it/kitsconcerto-types\";\n\ntype IsolatedStack = Omit<IStackProps, keyof IStyleClasses>;\n\n/**\n * Maps the `space` prop to a gap value in dp. Matches the HStack scale.\n */\nconst SPACE_TO_GAP: Record<NonNullable<IStackProps[\"space\"]>, number> = {\n xs: 4,\n sm: 8,\n md: 12,\n lg: 16,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 28,\n \"4xl\": 32,\n};\n\n/**\n * VStack (native)\n *\n * Lays children out in a vertical column with a gap derived from `space`.\n *\n * Implementation note: identical rationale to HStack — we render through\n * `ResponsiveElement as=\"Box\"` (a plain React Native View) and force\n * `flexDirection: 'column'` + `gap` via `cssProps` instead of routing\n * through a Nativewind-classname Gluestack component that isn't reliable\n * across the yalc package boundary.\n *\n * Consumer's own `flexDirection=` / `gap=` props (passed via cssProps)\n * spread after the defaults and win when explicitly set.\n */\nconst VStack: React.FC<PropsWithChildren<IStackProps>> = (props) => {\n const {cssProps, nativeProps} = useSeparator<IStackProps>(props);\n const {\n space = \"md\",\n reversed = false,\n scrollable,\n children,\n style,\n entering,\n exiting,\n ...rest\n } = nativeProps;\n\n return (\n <ResponsiveElement<IsolatedStack>\n ref={props.ref}\n as=\"Box\"\n scrollable={scrollable}\n entering={entering}\n exiting={exiting}\n cssProps={{\n flexDirection: reversed ? \"column-reverse\" : \"column\",\n gap: SPACE_TO_GAP[space],\n ...cssProps,\n }}\n nativeProps={rest}\n >\n {children}\n </ResponsiveElement>\n );\n};\n\nexport default VStack;\n"],"names":["useSeparator","jsx","ResponsiveElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,MAAM,YAAA,GAAkE;AAAA,EACpE,EAAA,EAAI,CAAA;AAAA,EACJ,EAAA,EAAI,CAAA;AAAA,EACJ,EAAA,EAAI,EAAA;AAAA,EACJ,EAAA,EAAI,EAAA;AAAA,EACJ,EAAA,EAAI,EAAA;AAAA,EACJ,KAAA,EAAO,EAAA;AAAA,EACP,KAAA,EAAO,EAAA;AAAA,EACP,KAAA,EAAO;AACX,CAAA;AAgBA,MAAM,MAAA,GAAmD,CAAC,KAAA,KAAU;AAChE,EAAA,MAAM,EAAC,QAAA,EAAU,WAAA,EAAW,GAAIA,qBAA0B,KAAK,CAAA;AAC/D,EAAA,MAAM;AAAA,IACF,KAAA,GAAQ,IAAA;AAAA,IACR,QAAA,GAAW,KAAA;AAAA,IACX,UAAA;AAAA,IACA,QAAA;AAAA,IACA,KAAA;AAAA,IACA,QAAA;AAAA,IACA,OAAA;AAAA,IACA,GAAG;AAAA,GACP,GAAI,WAAA;AAEJ,EAAA,uBACIC,cAAA;AAAA,IAACC,yBAAA;AAAA,IAAA;AAAA,MACG,KAAK,KAAA,CAAM,GAAA;AAAA,MACX,EAAA,EAAG,KAAA;AAAA,MACH,UAAA;AAAA,MACA,QAAA;AAAA,MACA,OAAA;AAAA,MACA,QAAA,EAAU;AAAA,QACN,aAAA,EAAe,WAAW,gBAAA,GAAmB,QAAA;AAAA,QAC7C,GAAA,EAAK,aAAa,KAAK,CAAA;AAAA,QACvB,GAAG;AAAA,OACP;AAAA,MACA,WAAA,EAAa,IAAA;AAAA,MAEZ;AAAA;AAAA,GACL;AAER;;;;"}
|
package/layout/VStack/index.js
CHANGED
|
@@ -57,6 +57,8 @@ import 'yup';
|
|
|
57
57
|
import '../../packages/types/src/Css/map/index.js';
|
|
58
58
|
import '../../packages/types/src/Theme/shadows.js';
|
|
59
59
|
import '../../packages/types/src/Theme/defaultTheme.js';
|
|
60
|
+
import '../../packages/types/src/Theme/alphaColors.js';
|
|
61
|
+
import '../../apps/mobile/src/Factory/helpers/cssVarMap.js';
|
|
60
62
|
import useSeparator from '../../apps/mobile/src/Factory/useSeparator.js';
|
|
61
63
|
import '../../apps/mobile/src/Factory/DimensionsContext.js';
|
|
62
64
|
import 'i18next';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/layout/VStack/index.native.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IStackProps, IStyleClasses} from \"@lmb-it/kitsconcerto-types\";\n\ntype IsolatedStack = Omit<IStackProps, keyof IStyleClasses>;\n\n/**\n * Maps the `space` prop to a gap value in dp. Matches the HStack scale.\n */\nconst SPACE_TO_GAP: Record<NonNullable<IStackProps[\"space\"]>, number> = {\n xs: 4,\n sm: 8,\n md: 12,\n lg: 16,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 28,\n \"4xl\": 32,\n};\n\n/**\n * VStack (native)\n *\n * Lays children out in a vertical column with a gap derived from `space`.\n *\n * Implementation note: identical rationale to HStack — we render through\n * `ResponsiveElement as=\"Box\"` (a plain React Native View) and force\n * `flexDirection: 'column'` + `gap` via `cssProps` instead of routing\n * through a Nativewind-classname Gluestack component that isn't reliable\n * across the yalc package boundary.\n *\n * Consumer's own `flexDirection=` / `gap=` props (passed via cssProps)\n * spread after the defaults and win when explicitly set.\n */\nconst VStack: React.FC<PropsWithChildren<IStackProps>> = (props) => {\n const {cssProps, nativeProps} = useSeparator<IStackProps>(props);\n const {\n space = \"md\",\n reversed = false,\n scrollable,\n children,\n style,\n entering,\n exiting,\n ...rest\n } = nativeProps;\n\n return (\n <ResponsiveElement<IsolatedStack>\n ref={props.ref}\n as=\"Box\"\n scrollable={scrollable}\n entering={entering}\n exiting={exiting}\n cssProps={{\n flexDirection: reversed ? \"column-reverse\" : \"column\",\n gap: SPACE_TO_GAP[space],\n ...cssProps,\n }}\n nativeProps={rest}\n >\n {children}\n </ResponsiveElement>\n );\n};\n\nexport default VStack;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/layout/VStack/index.native.tsx"],"sourcesContent":["import React, {type PropsWithChildren} from \"react\";\nimport {ResponsiveElement, useSeparator} from \"../../factory\";\nimport type {IStackProps, IStyleClasses} from \"@lmb-it/kitsconcerto-types\";\n\ntype IsolatedStack = Omit<IStackProps, keyof IStyleClasses>;\n\n/**\n * Maps the `space` prop to a gap value in dp. Matches the HStack scale.\n */\nconst SPACE_TO_GAP: Record<NonNullable<IStackProps[\"space\"]>, number> = {\n xs: 4,\n sm: 8,\n md: 12,\n lg: 16,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 28,\n \"4xl\": 32,\n};\n\n/**\n * VStack (native)\n *\n * Lays children out in a vertical column with a gap derived from `space`.\n *\n * Implementation note: identical rationale to HStack — we render through\n * `ResponsiveElement as=\"Box\"` (a plain React Native View) and force\n * `flexDirection: 'column'` + `gap` via `cssProps` instead of routing\n * through a Nativewind-classname Gluestack component that isn't reliable\n * across the yalc package boundary.\n *\n * Consumer's own `flexDirection=` / `gap=` props (passed via cssProps)\n * spread after the defaults and win when explicitly set.\n */\nconst VStack: React.FC<PropsWithChildren<IStackProps>> = (props) => {\n const {cssProps, nativeProps} = useSeparator<IStackProps>(props);\n const {\n space = \"md\",\n reversed = false,\n scrollable,\n children,\n style,\n entering,\n exiting,\n ...rest\n } = nativeProps;\n\n return (\n <ResponsiveElement<IsolatedStack>\n ref={props.ref}\n as=\"Box\"\n scrollable={scrollable}\n entering={entering}\n exiting={exiting}\n cssProps={{\n flexDirection: reversed ? \"column-reverse\" : \"column\",\n gap: SPACE_TO_GAP[space],\n ...cssProps,\n }}\n nativeProps={rest}\n >\n {children}\n </ResponsiveElement>\n );\n};\n\nexport default VStack;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,MAAM,YAAA,GAAkE;AAAA,EACpE,EAAA,EAAI,CAAA;AAAA,EACJ,EAAA,EAAI,CAAA;AAAA,EACJ,EAAA,EAAI,EAAA;AAAA,EACJ,EAAA,EAAI,EAAA;AAAA,EACJ,EAAA,EAAI,EAAA;AAAA,EACJ,KAAA,EAAO,EAAA;AAAA,EACP,KAAA,EAAO,EAAA;AAAA,EACP,KAAA,EAAO;AACX,CAAA;AAgBA,MAAM,MAAA,GAAmD,CAAC,KAAA,KAAU;AAChE,EAAA,MAAM,EAAC,QAAA,EAAU,WAAA,EAAW,GAAI,aAA0B,KAAK,CAAA;AAC/D,EAAA,MAAM;AAAA,IACF,KAAA,GAAQ,IAAA;AAAA,IACR,QAAA,GAAW,KAAA;AAAA,IACX,UAAA;AAAA,IACA,QAAA;AAAA,IACA,KAAA;AAAA,IACA,QAAA;AAAA,IACA,OAAA;AAAA,IACA,GAAG;AAAA,GACP,GAAI,WAAA;AAEJ,EAAA,uBACI,GAAA;AAAA,IAAC,iBAAA;AAAA,IAAA;AAAA,MACG,KAAK,KAAA,CAAM,GAAA;AAAA,MACX,EAAA,EAAG,KAAA;AAAA,MACH,UAAA;AAAA,MACA,QAAA;AAAA,MACA,OAAA;AAAA,MACA,QAAA,EAAU;AAAA,QACN,aAAA,EAAe,WAAW,gBAAA,GAAmB,QAAA;AAAA,QAC7C,GAAA,EAAK,aAAa,KAAK,CAAA;AAAA,QACvB,GAAG;AAAA,OACP;AAAA,MACA,WAAA,EAAa,IAAA;AAAA,MAEZ;AAAA;AAAA,GACL;AAER;;;;"}
|