@marigold/system 6.0.0 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -76,6 +76,7 @@ type Theme = {
76
76
  Footer?: ComponentStyleFunction<string, string>;
77
77
  Header?: ComponentStyleFunction<string, string>;
78
78
  Headline?: ComponentStyleFunction<string, string>;
79
+ Popover?: ComponentStyleFunction<string, string>;
79
80
  HelpText?: Record<'container' | 'icon', ComponentStyleFunction<string, string>>;
80
81
  Image?: ComponentStyleFunction<string, string>;
81
82
  Checkbox?: Record<'container' | 'label' | 'checkbox', ComponentStyleFunction<string, string>>;
@@ -96,7 +97,7 @@ type Theme = {
96
97
  Text?: ComponentStyleFunction<string, string>;
97
98
  TextArea?: ComponentStyleFunction<string, string>;
98
99
  Tooltip?: Record<'container' | 'arrow', ComponentStyleFunction<string, string>>;
99
- Tabs?: Record<'tabs' | 'tab', ComponentStyleFunction<string, string>>;
100
+ Tabs?: Record<'tabs' | 'container' | 'tabpanel' | 'tab', ComponentStyleFunction<string, string>>;
100
101
  Underlay?: ComponentStyleFunction<string, string>;
101
102
  Calendar?: Record<'calendar' | 'calendarCell' | 'calendarControllers', ComponentStyleFunction<string, string>>;
102
103
  DatePicker?: Record<'container' | 'button', ComponentStyleFunction<string, string>>;
@@ -116,7 +117,7 @@ interface UseClassNamesProps<C extends ComponentNames> {
116
117
  type ComponentClassNames<C extends ComponentNames> = ThemeComponent<C> extends (...args: any) => any ? string : {
117
118
  [slot in keyof ThemeComponent<C>]: string;
118
119
  };
119
- declare const useClassNames: <C extends "Accordion" | "Badge" | "Body" | "Button" | "Card" | "DateField" | "Dialog" | "Divider" | "Field" | "Footer" | "Header" | "Headline" | "HelpText" | "Image" | "Checkbox" | "Switch" | "Input" | "Label" | "List" | "Link" | "ListBox" | "Menu" | "Radio" | "Slider" | "Select" | "NumberField" | "Message" | "Table" | "Tag" | "Text" | "TextArea" | "Tooltip" | "Tabs" | "Underlay" | "Calendar" | "DatePicker">({ component, className, variant, size, }: UseClassNamesProps<C>) => ComponentClassNames<C>;
120
+ declare const useClassNames: <C extends "Accordion" | "Badge" | "Body" | "Button" | "Card" | "DateField" | "Dialog" | "Divider" | "Field" | "Footer" | "Header" | "Headline" | "Popover" | "HelpText" | "Image" | "Checkbox" | "Switch" | "Input" | "Label" | "List" | "Link" | "ListBox" | "Menu" | "Radio" | "Slider" | "Select" | "NumberField" | "Message" | "Table" | "Tag" | "Text" | "TextArea" | "Tooltip" | "Tabs" | "Underlay" | "Calendar" | "DatePicker">({ component, className, variant, size, }: UseClassNamesProps<C>) => ComponentClassNames<C>;
120
121
 
121
122
  /**
122
123
  * Hook that can be used to return values based on the current screen size,
@@ -229,7 +230,7 @@ declare const fontWeight: {
229
230
  thin: string;
230
231
  extralight: string;
231
232
  light: string;
232
- normal: string;
233
+ regular: string;
233
234
  medium: string;
234
235
  semibold: string;
235
236
  bold: string;
@@ -246,6 +247,10 @@ declare const textSize: {
246
247
  '3xl': string;
247
248
  '4xl': string;
248
249
  '5xl': string;
250
+ '6xl': string;
251
+ '7xl': string;
252
+ '8xl': string;
253
+ '9xl': string;
249
254
  };
250
255
  declare const textStyle: {
251
256
  italic: string;
package/dist/index.js CHANGED
@@ -323,7 +323,7 @@ var fontWeight = {
323
323
  thin: "font-thin",
324
324
  extralight: "font-extralight",
325
325
  light: "font-light",
326
- normal: "font-normal",
326
+ regular: "font-normal",
327
327
  medium: "font-medium",
328
328
  semibold: "font-semibold",
329
329
  bold: "font-bold",
@@ -339,7 +339,11 @@ var textSize = {
339
339
  "2xl": "text-2xl",
340
340
  "3xl": "text-3xl",
341
341
  "4xl": "text-4xl",
342
- "5xl": "text-5xl"
342
+ "5xl": "text-5xl",
343
+ "6xl": "text-6xl",
344
+ "7xl": "text-7xl",
345
+ "8xl": "text-8xl",
346
+ "9xl": "text-9xl"
343
347
  };
344
348
  var textStyle = {
345
349
  italic: "italic",
package/dist/index.mjs CHANGED
@@ -255,7 +255,7 @@ var fontWeight = {
255
255
  thin: "font-thin",
256
256
  extralight: "font-extralight",
257
257
  light: "font-light",
258
- normal: "font-normal",
258
+ regular: "font-normal",
259
259
  medium: "font-medium",
260
260
  semibold: "font-semibold",
261
261
  bold: "font-bold",
@@ -271,7 +271,11 @@ var textSize = {
271
271
  "2xl": "text-2xl",
272
272
  "3xl": "text-3xl",
273
273
  "4xl": "text-4xl",
274
- "5xl": "text-5xl"
274
+ "5xl": "text-5xl",
275
+ "6xl": "text-6xl",
276
+ "7xl": "text-7xl",
277
+ "8xl": "text-8xl",
278
+ "9xl": "text-9xl"
275
279
  };
276
280
  var textStyle = {
277
281
  italic: "italic",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marigold/system",
3
- "version": "6.0.0",
3
+ "version": "6.1.0",
4
4
  "description": "Marigold System Library",
5
5
  "license": "MIT",
6
6
  "keywords": [