@scattered-light/loomiere-mojave 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/exports/AGENTS.md +24 -8
  2. package/dist/exports/catalog.json +21 -0
  3. package/dist/exports/chakra.js +333 -0
  4. package/dist/exports/design-system/README.md +23 -7
  5. package/dist/exports/design-system/components/Badge/README.md +35 -0
  6. package/dist/exports/design-system/components/Badge/preview.html +19 -0
  7. package/dist/exports/design-system/components/Collection/README.md +14 -0
  8. package/dist/exports/design-system/components/CollectionPagination/README.md +15 -0
  9. package/dist/exports/design-system/components/CollectionToolbar/README.md +24 -0
  10. package/dist/exports/design-system/components/DataList/README.md +39 -0
  11. package/dist/exports/design-system/components/DataList/preview.html +475 -0
  12. package/dist/exports/design-system/components/DataTable/README.md +41 -0
  13. package/dist/exports/design-system/components/DataTable/preview.html +475 -0
  14. package/dist/exports/design-system/components/DatePicker/README.md +55 -0
  15. package/dist/exports/design-system/components/DatePicker/preview.html +475 -0
  16. package/dist/exports/design-system/components/EditableList/README.md +33 -0
  17. package/dist/exports/design-system/components/EditableList/preview.html +475 -0
  18. package/dist/exports/design-system/components/EmptyState/README.md +60 -0
  19. package/dist/exports/design-system/components/EmptyState/preview.html +475 -0
  20. package/dist/exports/design-system/components/ListDetail/README.md +43 -0
  21. package/dist/exports/design-system/components/ListDetail/preview.html +475 -0
  22. package/dist/exports/design-system/components/MoneyField/README.md +52 -0
  23. package/dist/exports/design-system/components/MoneyField/preview.html +475 -0
  24. package/dist/exports/design-system/components/Splitter/README.md +42 -0
  25. package/dist/exports/design-system/components/Splitter/preview.html +475 -0
  26. package/dist/exports/design-system/components/Table/README.md +2 -1
  27. package/dist/exports/design-system/components/Table/preview.html +1 -1
  28. package/dist/exports/design-system/components/bundle.css +2377 -190
  29. package/dist/exports/design-system/components/bundle.js +7 -5
  30. package/dist/exports/design-system/components/index.d.ts +3 -21
  31. package/dist/exports/design-system/tokens.json +15 -0
  32. package/dist/exports/figma.json +1 -1
  33. package/dist/exports/mui.js +727 -0
  34. package/dist/exports/tailwind.css +36 -0
  35. package/dist/exports/tokens.dtcg.json +316 -2
  36. package/dist/tokens.css +111 -4
  37. package/dist/tokens.d.ts +93 -0
  38. package/dist/tokens.js +94 -1
  39. package/dist/tokens.json +572 -2
  40. package/package.json +2 -2
@@ -7,6 +7,7 @@ import { Fieldset as Fieldset$1 } from '@base-ui/react/fieldset';
7
7
  import { Form as Form$1 } from '@base-ui/react/form';
8
8
  import { NavigationMenu as NavigationMenu$1 } from '@base-ui/react/navigation-menu';
9
9
  import { Select as Select$1 } from '@base-ui/react/select';
10
+ export { B as Badge, a as BadgeProps, C as Calendar, b as CalendarProps, c as CurrencyCode, D as DatePicker, d as DatePickerProps, e as DatePresets, f as DatePresetsProps, g as DateRange, h as DateValue, E as EditableList, i as EditableListApi, j as EditableListRootProps, k as EmptyState, l as EmptyStateKind, m as EmptyStateProps, L as ListDetail, n as ListDetailCloseReason, o as ListDetailDetailProps, p as ListDetailLayout, q as ListDetailRootProps, r as ListDetailValue, M as MoneyField, s as MoneyFieldProps, t as MoneyFieldRootProps, N as NumberField, u as NumberFieldLabelProps, P as Preset, v as PresetValue, S as Splitter, w as SplitterHandleProps, x as SplitterPanelProps, y as SplitterRootProps, z as addDays, A as addMonths, F as builtinPresets, G as clampDate, H as daysInMonth, I as defaultPresets, J as defaultWeekStartsOn, K as endOfWeek, O as formatMoney, Q as fromMinorUnits, R as getCurrencyDigits, T as inclusiveDays, U as isValidCurrency, V as isoWeek, W as last30Days, X as last7Days, Y as lastMonth, Z as lastWeek, _ as lengthBlockReason, $ as nextMonth, a0 as nextWeek, a1 as orderRange, a2 as parseDecimalString, a3 as resolvePreset, a4 as startOfWeek, a5 as thisMonth, a6 as thisQuarter, a7 as thisWeek, a8 as toDecimalString, a9 as toMinorUnits, aa as today, ab as todayDate, ac as tomorrow, ad as useListDetail, ae as yearToDate, af as yesterday } from './index-ChJXlxzq.js';
10
11
  import * as _base_ui_react_internals_filter from '@base-ui/react/internals/filter';
11
12
  import { AutocompleteRootProps, Autocomplete as Autocomplete$1 } from '@base-ui/react/autocomplete';
12
13
  import { ComboboxRootProps, Combobox as Combobox$1 } from '@base-ui/react/combobox';
@@ -26,6 +27,7 @@ import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
26
27
  import { Drawer as Drawer$1 } from '@base-ui/react/drawer';
27
28
  import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
28
29
  import { Toast as Toast$1 } from '@base-ui/react/toast';
30
+ import '@base-ui/react/number-field';
29
31
 
30
32
  /**
31
33
  * Base UI [Field](https://base-ui.com/react/components/field) with design-system field classes.
@@ -139,26 +141,6 @@ declare const Select: {
139
141
  Separator: React.ForwardRefExoticComponent<Omit<_base_ui_react.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
140
142
  };
141
143
 
142
- type NumberFieldLabelProps = Omit<React.ComponentProps<'label'>, 'htmlFor'> & {
143
- htmlFor: string;
144
- };
145
- /** The field label. Number field has no label part; this is the same text as {@link Field.Label}. */
146
- declare function NumberFieldLabel({ className, htmlFor, ...props }: NumberFieldLabelProps): react_jsx_runtime.JSX.Element;
147
- /**
148
- * Base UI [Number Field](https://base-ui.com/react/components/number-field) with design-system classes.
149
- * The input is Input, and the label is Field's label. Only the steppers are drawn here.
150
- */
151
- declare const NumberField: {
152
- Root: React.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.NumberFieldRootProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
153
- Group: React.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.NumberFieldGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
154
- Input: React.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.NumberFieldInputProps, "ref"> & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
155
- Increment: React.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.NumberFieldIncrementProps, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
156
- Decrement: React.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.NumberFieldDecrementProps, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
157
- ScrubArea: React.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.NumberFieldScrubAreaProps, "ref"> & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
158
- ScrubAreaCursor: React.ForwardRefExoticComponent<Omit<_base_ui_react.NumberFieldScrubAreaCursorProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
159
- Label: typeof NumberFieldLabel;
160
- };
161
-
162
144
  /**
163
145
  * Base UI [OTP Field](https://base-ui.com/react/components/otp-field) with design-system classes.
164
146
  * Each slot is an Input cut square. `data-size` on the root picks the control size.
@@ -721,4 +703,4 @@ type FieldControlProps = React.ComponentProps<typeof Field.Control>;
721
703
  type FieldValidityProps = React.ComponentProps<typeof Field.Validity>;
722
704
  type FieldItemProps = React.ComponentProps<typeof Field.Item>;
723
705
 
724
- export { Accordion, AccordionContent, type AccordionContentProps, AlertDialog, AlertDialogActions, type AlertDialogActionsProps, Autocomplete, Avatar, AvatarGroup, type AvatarGroupProps, Button, type ButtonProps, Checkbox, CheckboxGroup, CheckboxLabel, type CheckboxLabelProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, Combobox, ContextMenu, Dialog, DialogActions, type DialogActionsProps, DialogContent, type DialogContentProps, Drawer, Field, type FieldControlProps, type FieldDescriptionProps, type FieldErrorProps, type FieldItemProps, type FieldLabelProps, type FieldRootProps, type FieldValidityProps, Fieldset, FieldsetDescription, type FieldsetDescriptionProps, type FieldsetLegendProps, type FieldsetRootProps, Form, FormActions, type FormActionsProps, type FormProps, Input, type InputProps, Menu, Menubar, Meter, MeterHeader, type MeterHeaderProps, NavigationMenu, type NavigationMenuListProps, type NavigationMenuRootProps, NumberField, type NumberFieldLabelProps, OTPField, Popover, PreviewCard, PreviewCardContent, type PreviewCardContentProps, PreviewCardDescription, type PreviewCardDescriptionProps, PreviewCardImage, type PreviewCardImageProps, PreviewCardTitle, type PreviewCardTitleProps, Progress, ProgressHeader, type ProgressHeaderProps, Radio, RadioGroup, RadioLabel, type RadioLabelProps, RadioRow, type RadioRowProps, ScrollArea, Select, Separator, Slider, SliderHeader, type SliderHeaderProps, Switch, SwitchContainer, type SwitchContainerProps, SwitchLabel, type SwitchLabelProps, Tabs, Toast, Toggle, ToggleGroup, Toolbar, Tooltip, cn, cnState };
706
+ export { Accordion, AccordionContent, type AccordionContentProps, AlertDialog, AlertDialogActions, type AlertDialogActionsProps, Autocomplete, Avatar, AvatarGroup, type AvatarGroupProps, Button, type ButtonProps, Checkbox, CheckboxGroup, CheckboxLabel, type CheckboxLabelProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, Combobox, ContextMenu, Dialog, DialogActions, type DialogActionsProps, DialogContent, type DialogContentProps, Drawer, Field, type FieldControlProps, type FieldDescriptionProps, type FieldErrorProps, type FieldItemProps, type FieldLabelProps, type FieldRootProps, type FieldValidityProps, Fieldset, FieldsetDescription, type FieldsetDescriptionProps, type FieldsetLegendProps, type FieldsetRootProps, Form, FormActions, type FormActionsProps, type FormProps, Input, type InputProps, Menu, Menubar, Meter, MeterHeader, type MeterHeaderProps, NavigationMenu, type NavigationMenuListProps, type NavigationMenuRootProps, OTPField, Popover, PreviewCard, PreviewCardContent, type PreviewCardContentProps, PreviewCardDescription, type PreviewCardDescriptionProps, PreviewCardImage, type PreviewCardImageProps, PreviewCardTitle, type PreviewCardTitleProps, Progress, ProgressHeader, type ProgressHeaderProps, Radio, RadioGroup, RadioLabel, type RadioLabelProps, RadioRow, type RadioRowProps, ScrollArea, Select, Separator, Slider, SliderHeader, type SliderHeaderProps, Switch, SwitchContainer, type SwitchContainerProps, SwitchLabel, type SwitchLabelProps, Tabs, Toast, Toggle, ToggleGroup, Toolbar, Tooltip, cn, cnState };
@@ -786,6 +786,11 @@
786
786
  "value": "{sl-text-tertiary}",
787
787
  "usage": "Hint text before anything is typed."
788
788
  },
789
+ {
790
+ "name": "sl-field-affix-color",
791
+ "value": "{sl-text-secondary}",
792
+ "usage": "A prefix or suffix drawn inside the field (a currency symbol, a unit). Muted so it reads as part of the control, not as the value."
793
+ },
789
794
  {
790
795
  "name": "sl-popup-background",
791
796
  "value": "{sl-surface-base}",
@@ -1036,6 +1041,16 @@
1036
1041
  "value": "{sl-item-background-selected}",
1037
1042
  "usage": "Selected rows. Same tint as the chosen menu row."
1038
1043
  },
1044
+ {
1045
+ "name": "sl-table-row-current",
1046
+ "value": "{sl-surface-tray}",
1047
+ "usage": "The open row beside a detail pane. The tray, a step off the page, so secondary text on it still passes AA in dark. A selected row keeps its own tint, so a checked row and the row you are reading can both show."
1048
+ },
1049
+ {
1050
+ "name": "sl-table-group-header-background",
1051
+ "value": "{sl-surface-tray}",
1052
+ "usage": "A group header. The tray, like the column header, so a group reads as chrome rather than another data row."
1053
+ },
1039
1054
  {
1040
1055
  "name": "sl-table-column-hover",
1041
1056
  "value": "{sl-fill-subtle}",