@wonderflow/react-components 2.14.5 → 2.14.9

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.
@@ -26,19 +26,19 @@
26
26
  &[data-button-dimension='big'] {
27
27
  padding: 0.55rem env(--space-24) 0.66rem;
28
28
  font-size: env(--font-size-18);
29
- height: env(--space-48);
29
+ block-size: env(--space-48);
30
30
  }
31
31
 
32
32
  &[data-button-dimension='regular'] {
33
33
  padding: 0.33rem env(--space-16) env(--space-8);
34
34
  font-size: env(--font-size-16);
35
- height: env(--space-40);
35
+ block-size: env(--space-40);
36
36
  }
37
37
 
38
38
  &[data-button-dimension='small'] {
39
39
  font-size: env(--font-size-14);
40
40
  padding: 0 env(--space-4) 0.11rem;
41
- height: env(--space-24);
41
+ block-size: env(--space-24);
42
42
  grid-gap: env(--space-4);
43
43
  }
44
44
 
@@ -75,7 +75,7 @@
75
75
  /* Styles */
76
76
 
77
77
  &[data-button-fullwidth='true'] {
78
- width: 100%;
78
+ inline-size: 100%;
79
79
  }
80
80
 
81
81
  &[data-button-icon-position='right'] {
package/card/card.d.ts CHANGED
@@ -2,7 +2,7 @@ import { ReactNode } from 'react';
2
2
  import type * as Polymorphic from '@radix-ui/react-polymorphic';
3
3
  import { StackProps } from '../stack';
4
4
  import { TokensTypes } from '@wonderflow/tokens/platforms/web/types';
5
- export declare type CardProps = PropsWithClass & Pick<StackProps, 'wrap' | 'columnGap' | 'verticalAlign' | 'horizontalAlign'> & {
5
+ export declare type CardProps = PropsWithClass & Pick<StackProps, 'wrap' | 'columnGap' | 'rowGap' | 'verticalAlign' | 'horizontalAlign'> & {
6
6
  padding?: false | TokensTypes['space'];
7
7
  left?: ReactNode;
8
8
  right?: ReactNode;
package/card/card.js CHANGED
@@ -15,13 +15,13 @@ import { Stack } from '../stack';
15
15
  import clsx from 'clsx';
16
16
  import { Card as CardClass, Left, Content, Right } from './card.module.css';
17
17
  export const Card = forwardRef((_a, forwardedRef) => {
18
- var { as: Wrapper = 'div', children, className, padding = 24, radius = 8, left, right, dimmed, columnGap = 24, verticalAlign = 'start', horizontalAlign = 'space-between', wrap, style } = _a, props = __rest(_a, ["as", "children", "className", "padding", "radius", "left", "right", "dimmed", "columnGap", "verticalAlign", "horizontalAlign", "wrap", "style"]);
18
+ var { as: Wrapper = 'div', children, className, padding = 24, radius = 8, left, right, dimmed, columnGap = 24, rowGap = 24, verticalAlign = 'start', horizontalAlign = 'space-between', wrap, style } = _a, props = __rest(_a, ["as", "children", "className", "padding", "radius", "left", "right", "dimmed", "columnGap", "rowGap", "verticalAlign", "horizontalAlign", "wrap", "style"]);
19
19
  const dynamicStyle = {
20
20
  '--padding': padding ? tkns.space[padding] : '0',
21
21
  '--radius': radius ? tkns.radius[radius] : '0'
22
22
  };
23
23
  return (React.createElement(Wrapper, Object.assign({ ref: forwardedRef, className: clsx(CardClass, className), style: Object.assign(Object.assign({}, dynamicStyle), style), "data-card-dimmed": dimmed }, props),
24
- React.createElement(Stack, { direction: "row", fill: false, verticalAlign: verticalAlign, horizontalAlign: horizontalAlign, columnGap: columnGap, wrap: wrap },
24
+ React.createElement(Stack, { direction: "row", fill: false, verticalAlign: verticalAlign, horizontalAlign: horizontalAlign, columnGap: columnGap, rowGap: rowGap, wrap: wrap },
25
25
  left && React.createElement("div", { className: Left }, left),
26
26
  children && (React.createElement(Stack, { className: Content }, children)),
27
27
  right && (React.createElement(Stack, { className: Right }, right)))));
@@ -1,6 +1,6 @@
1
1
  :where(p) {
2
2
  line-height: 1.5;
3
- min-height: 0.01vh;
3
+ min-block-size: 0.01vh;
4
4
  font-size:
5
5
  clamp(
6
6
  var(--fluid-type-min, env(--font-size-16)),
@@ -14,6 +14,7 @@ import clsx from 'clsx';
14
14
  import { Disclosure as DisclosureClass, Summary, ExpandIcon, Content } from './disclosure.module.css';
15
15
  import { Icon } from '../icon';
16
16
  import { Text } from '../text';
17
+ import { motion } from 'framer-motion';
17
18
  export const Disclosure = forwardRef((_a, forwardedRef) => {
18
19
  var { children, open = false, padding = true, className, summary, contentMaxHeight, dimension = 'regular', iconPosition = 'left', expandable = true, style } = _a, props = __rest(_a, ["children", "open", "padding", "className", "summary", "contentMaxHeight", "dimension", "iconPosition", "expandable", "style"]);
19
20
  const [isOpen, setIsOpen] = useState(open);
@@ -39,6 +40,6 @@ export const Disclosure = forwardRef((_a, forwardedRef) => {
39
40
  React.createElement(Text, { as: "summary", onClick: handleOpen(), className: Summary, fluid: false, "aria-expanded": isOpen, tabIndex: !expandable ? -1 : 0, size: dimension ? sizes[dimension].summary : undefined, weight: "bold", role: "button" },
40
41
  summary,
41
42
  expandable && (React.createElement(Icon, { className: ExpandIcon, name: "chevron-right", dimension: dimension !== 'big' ? 16 : 24 }))),
42
- React.createElement("div", { className: Content, "data-disclosure-padding": padding, "data-disclosure-height": Boolean(contentMaxHeight) }, children)));
43
+ React.createElement(motion.div, { className: Content, "data-disclosure-padding": padding, "data-disclosure-height": Boolean(contentMaxHeight), animate: isOpen ? { y: 0, opacity: 1 } : { y: 5, opacity: 0 }, transition: { ease: 'easeOut', duration: 0.1 } }, children)));
43
44
  });
44
45
  Disclosure.displayName = 'Disclosure';
@@ -0,0 +1,13 @@
1
+ import { ReactNode } from 'react';
2
+ import { IconNames } from 'src/icons/types';
3
+ import type * as Polymorphic from '@radix-ui/react-polymorphic';
4
+ export declare type DropdownItemProps = PropsWithClass & {
5
+ children: ReactNode;
6
+ icon?: IconNames;
7
+ dimension?: 'small' | 'regular';
8
+ onClick?: () => void;
9
+ iconPosition: 'left' | 'right';
10
+ };
11
+ declare type PolymorphicDropdownItem = Polymorphic.ForwardRefComponent<'button', DropdownItemProps>;
12
+ export declare const DropdownItem: PolymorphicDropdownItem;
13
+ export {};
@@ -0,0 +1,35 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import React, { useCallback, forwardRef, useRef } from 'react';
13
+ import { Icon } from '../icon';
14
+ import { Stack } from '../stack';
15
+ import { useRovingTabIndex, useFocusEffect } from 'react-roving-tabindex';
16
+ import { DropdownItem as DropdownItemClass, Icon as IconClass } from './dropdown-item.module.css';
17
+ import clsx from 'clsx';
18
+ export const DropdownItem = forwardRef((_a, forwardedRef) => {
19
+ var { className, children, onClick, icon, dimension = 'regular', as: Wrapper = 'button', iconPosition = 'left' } = _a, props = __rest(_a, ["className", "children", "onClick", "icon", "dimension", "as", "iconPosition"]);
20
+ const itemRef = useRef(forwardedRef);
21
+ const [tabIndex, focused, handleKeyDown, handleClick] = useRovingTabIndex(itemRef, false);
22
+ const isIconRight = iconPosition === 'right';
23
+ useFocusEffect(focused, itemRef);
24
+ const triggerClick = useCallback(() => {
25
+ if (onClick) {
26
+ handleClick();
27
+ onClick();
28
+ }
29
+ }, [handleClick, onClick]);
30
+ return (React.createElement(Wrapper, Object.assign({ ref: itemRef, className: clsx(DropdownItemClass, className), onClick: triggerClick, onKeyDown: handleKeyDown, tabIndex: tabIndex, type: Wrapper === 'button' ? 'button' : undefined, "data-dropdown-item-dimension": dimension }, props),
31
+ React.createElement(Stack, { direction: "row", as: "span", fill: false, horizontalAlign: isIconRight ? 'space-between' : 'start', verticalAlign: "center", columnGap: 8, horizontalPadding: 16, verticalPadding: 8 },
32
+ icon && (React.createElement(Icon, { "data-dropdown-icon-right": isIconRight, className: IconClass, name: icon, dimension: dimension === 'small' ? 14 : 16 })),
33
+ children)));
34
+ });
35
+ DropdownItem.displayName = 'Dropdown.Item';
@@ -0,0 +1,46 @@
1
+ .DropdownItem {
2
+ border: 0;
3
+ background: none;
4
+ font: inherit;
5
+ font-size: env(--font-size-16);
6
+ color: var(--dimmed-6);
7
+ line-height: 1.2;
8
+ font-weight: 600;
9
+ cursor: pointer;
10
+ inline-size: 100%;
11
+ box-sizing: border-box;
12
+ text-align: start;
13
+ position: relative;
14
+
15
+ &::before {
16
+ content: '';
17
+ position: absolute;
18
+ border-radius: env(--radius-4);
19
+ top: 0;
20
+ left: env(--space-8);
21
+ right: env(--space-8);
22
+ bottom: 0;
23
+ opacity: 0.6;
24
+ }
25
+
26
+ &:is(:hover, :focus-visible) {
27
+ color: var(--cta-default);
28
+ outline: none;
29
+
30
+ &::before {
31
+ background-color: var(--dimmed-2);
32
+ }
33
+ }
34
+
35
+ &[data-dropdown-item-dimension='small'] {
36
+ font-size: env(--font-size-14);
37
+ }
38
+
39
+ & > * {
40
+ position: relative;
41
+ }
42
+ }
43
+
44
+ .Icon[data-dropdown-icon-right='true'] {
45
+ order: 2;
46
+ }
@@ -0,0 +1,7 @@
1
+ import React, { ReactNode } from 'react';
2
+ export declare type DropdownMenuProps = PropsWithClass & {
3
+ children: ReactNode;
4
+ };
5
+ export declare const DropdownMenu: React.ForwardRefExoticComponent<PropsWithClass & {
6
+ children: ReactNode;
7
+ } & React.RefAttributes<HTMLUListElement>>;
@@ -0,0 +1,26 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import React, { Children, cloneElement, forwardRef } from 'react';
13
+ import { RovingTabIndexProvider } from 'react-roving-tabindex';
14
+ import { Elevator } from '../elevator';
15
+ import { Stack } from '../stack';
16
+ import clsx from 'clsx';
17
+ import { DropdownMenu as DropdownMenuClass } from './dropdown-menu.module.css';
18
+ export const DropdownMenu = forwardRef((_a, forwardedRef) => {
19
+ var { className, children } = _a, props = __rest(_a, ["className", "children"]);
20
+ return (React.createElement(Elevator, { resting: 2 },
21
+ React.createElement(Stack, Object.assign({ as: "ul", ref: forwardedRef, rowGap: 8, className: clsx(DropdownMenuClass, className), role: "menu" }, props),
22
+ React.createElement(RovingTabIndexProvider, { options: { direction: 'vertical', loopAround: true } }, Children.map(children, (child, index) => (React.createElement("li", { role: "menuitem" }, cloneElement(child, {
23
+ autoFocus: index === 0 && true
24
+ }))))))));
25
+ });
26
+ DropdownMenu.displayName = 'Dropdown.Menu';
@@ -0,0 +1,13 @@
1
+ .DropdownMenu {
2
+ list-style-type: none;
3
+ padding: env(--space-8) 0 env(--space-8);
4
+ background-color: var(--global-background);
5
+ border: 1px solid var(--dimmed-2);
6
+ border-radius: env(--radius-8);
7
+ overflow: hidden;
8
+ position: relative;
9
+
10
+ & hr {
11
+ margin: 0 env(--space-8);
12
+ }
13
+ }
@@ -0,0 +1,15 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { AutoPlacement, BasePlacement, VariationPlacement } from '@popperjs/core/lib';
3
+ export declare type DropdownProps = PropsWithClass & {
4
+ children: ReactNode;
5
+ trigger: ReactNode;
6
+ offset?: number;
7
+ placement?: AutoPlacement | BasePlacement | VariationPlacement;
8
+ };
9
+ export declare const Dropdown: {
10
+ ({ className, children, trigger, offset, placement, ...props }: DropdownProps): JSX.Element;
11
+ Menu: React.ForwardRefExoticComponent<PropsWithClass & {
12
+ children: React.ReactNode;
13
+ } & React.RefAttributes<HTMLUListElement>>;
14
+ Item: import("@radix-ui/react-polymorphic").ForwardRefComponent<"button", import("./dropdown-item").DropdownItemProps>;
15
+ };
@@ -0,0 +1,73 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import clsx from 'clsx';
13
+ import React, { useState, useRef, useCallback, Children, cloneElement } from 'react';
14
+ import { useClickAway, useKey } from 'react-use';
15
+ import { Dropdown as DropdownClass, Trigger, PopUp } from './dropdown.module.css';
16
+ import { useUIDSeed } from 'react-uid';
17
+ import { useFocusWithin } from '@react-aria/interactions';
18
+ import { DropdownMenu } from './dropdown-menu';
19
+ import { DropdownItem } from './dropdown-item';
20
+ import { usePopper } from 'react-popper';
21
+ import { motion, AnimatePresence } from 'framer-motion';
22
+ export const Dropdown = (_a) => {
23
+ var { className, children, trigger, offset = 8, placement = 'auto-start' } = _a, props = __rest(_a, ["className", "children", "trigger", "offset", "placement"]);
24
+ const DropDownRef = useRef(null);
25
+ const [isOpen, setIsOpen] = useState(false);
26
+ const seedID = useUIDSeed();
27
+ const [triggerRef, setTriggerRef] = useState(null);
28
+ const [popUpElement, setPopUpElement] = useState(null);
29
+ const { styles: popUpStyles, attributes: popUpAttributes } = usePopper(triggerRef, popUpElement, {
30
+ placement: placement,
31
+ modifiers: [
32
+ {
33
+ name: 'flip',
34
+ enabled: true,
35
+ options: {
36
+ fallbackPlacements: ['bottom', 'top']
37
+ }
38
+ },
39
+ {
40
+ name: 'offset',
41
+ options: {
42
+ offset: [0, offset]
43
+ }
44
+ }
45
+ ]
46
+ });
47
+ const { focusWithinProps } = useFocusWithin({
48
+ onFocusWithin: () => null,
49
+ onBlurWithin: (e) => e.relatedTarget && setIsOpen(false),
50
+ onFocusWithinChange: () => null
51
+ });
52
+ const handleOpen = useCallback((action) => () => {
53
+ setIsOpen(action);
54
+ }, []);
55
+ useKey('Escape', handleOpen(false));
56
+ useClickAway(DropDownRef, handleOpen(false));
57
+ return (React.createElement("div", Object.assign({ className: clsx(DropdownClass, className), ref: DropDownRef }, focusWithinProps, props),
58
+ React.createElement("div", { className: Trigger }, Children.map(trigger, (child) => cloneElement(child, {
59
+ onClick: handleOpen(!isOpen),
60
+ id: seedID('dropdown-trigger'),
61
+ ref: setTriggerRef,
62
+ 'aria-haspopup': 'true',
63
+ 'aria-controls': seedID('dropdown-menu'),
64
+ 'aria-expanded': isOpen
65
+ }))),
66
+ React.createElement(AnimatePresence, null, isOpen && (React.createElement("div", Object.assign({ className: PopUp, ref: setPopUpElement, style: popUpStyles.popper }, popUpAttributes.popper),
67
+ React.createElement(motion.div, { animate: { y: 0, opacity: 1 }, initial: { y: 5, opacity: 0 }, exit: { y: 5, opacity: 0 }, transition: { ease: 'easeOut', duration: 0.1 } }, Children.map(children, (child) => cloneElement(child, {
68
+ id: seedID('dropdown-menu'),
69
+ 'aria-labelledby': seedID('dropdown-trigger')
70
+ }))))))));
71
+ };
72
+ Dropdown.Menu = DropdownMenu;
73
+ Dropdown.Item = DropdownItem;
@@ -0,0 +1,14 @@
1
+ .Dropdown {
2
+ position: relative;
3
+ display: inline-flex;
4
+ }
5
+
6
+ .Trigger {
7
+ display: contents;
8
+ }
9
+
10
+ .PopUp {
11
+ inline-size: max-content;
12
+ min-inline-size: 100%;
13
+ z-index: 1;
14
+ }
@@ -0,0 +1,3 @@
1
+ export { Dropdown } from './dropdown';
2
+ export type { DropdownProps } from './dropdown';
3
+ export type { DropdownItemProps } from './dropdown-item';
@@ -0,0 +1 @@
1
+ export { Dropdown } from './dropdown';
package/index.d.ts CHANGED
@@ -20,3 +20,4 @@ export { StarMeter } from './star-meter';
20
20
  export { Tab } from './tab';
21
21
  export { List } from './list';
22
22
  export { Disclosure } from './disclosure';
23
+ export { Dropdown } from './dropdown';
package/index.js CHANGED
@@ -20,3 +20,4 @@ export { StarMeter } from './star-meter';
20
20
  export { Tab } from './tab';
21
21
  export { List } from './list';
22
22
  export { Disclosure } from './disclosure';
23
+ export { Dropdown } from './dropdown';
@@ -36,8 +36,8 @@
36
36
  position: absolute;
37
37
  left: 0;
38
38
  top: calc(var(--marker-size) / 2.4);
39
- width: var(--marker-size);
40
- height: var(--marker-size);
39
+ inline-size: var(--marker-size);
40
+ block-size: var(--marker-size);
41
41
 
42
42
  @nest .List[data-list-size='small'] & {
43
43
  top: 3px;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wonderflow/react-components",
3
3
  "description": "UI components from Wonderflow's Wanda design system",
4
- "version": "2.14.5",
4
+ "version": "2.14.9",
5
5
  "author": "Wonderflow",
6
6
  "license": "MIT",
7
7
  "main": "index.js",
@@ -54,18 +54,23 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@bumaga/tabs": "0.2.0",
57
+ "@popperjs/core": "2.10.1",
57
58
  "@radix-ui/react-polymorphic": "0.0.13",
59
+ "@react-aria/interactions": "3.5.1",
58
60
  "@wonderflow/config": "1.4.7",
59
61
  "@wonderflow/eslint-config": "1.1.0",
60
62
  "@wonderflow/stylelint-config": "1.0.1",
61
63
  "@wonderflow/tokens": "1.3.3",
62
64
  "clsx": "1.1.1",
63
65
  "flat": "5.0.2",
66
+ "framer-motion": "4.1.17",
64
67
  "postcss": "8.3.6",
65
68
  "react": ">=17.0.2",
66
69
  "react-dom": ">=17.0.2",
70
+ "react-popper": "2.2.5",
67
71
  "react-roving-tabindex": "3.1.1",
68
72
  "react-uid": "2.3.1",
73
+ "react-use": "17.3.1",
69
74
  "style-dictionary": "3.0.2",
70
75
  "type-fest": "2.1.0"
71
76
  },
@@ -113,6 +118,7 @@
113
118
  "ora": "5.4.1",
114
119
  "rimraf": "3.0.2",
115
120
  "semantic-release": "17.4.7",
121
+ "storybook-addon-themes": "6.1.0",
116
122
  "storybook-css-modules-preset": "1.1.1",
117
123
  "stylelint": "13.13.1",
118
124
  "svgo": "2.5.0",
@@ -25,7 +25,7 @@
25
25
  .FieldContainer {
26
26
  position: relative;
27
27
  color: var(--global-vibrancy-foreground);
28
- width: 100%;
28
+ inline-size: 100%;
29
29
 
30
30
  @nest .Select[aria-disabled='true'] & {
31
31
  color: var(--global-disabled-foreground);
@@ -42,7 +42,7 @@
42
42
  line-height: 1;
43
43
  appearance: none;
44
44
  display: block;
45
- width: 100%;
45
+ inline-size: 100%;
46
46
  box-sizing: border-box;
47
47
  overflow: hidden;
48
48
  backdrop-filter: blur(32px);
@@ -53,7 +53,7 @@
53
53
  var(--global-vibrancy-background),
54
54
  var(--global-vibrancy-background)
55
55
  );
56
- height: var(--field-height);
56
+ block-size: var(--field-height);
57
57
  padding:
58
58
  0
59
59
  calc(var(--field-padding) + calc(var(--field-padding) * 1.6))
@@ -85,7 +85,7 @@
85
85
  }
86
86
 
87
87
  &[multiple] {
88
- height: auto;
88
+ block-size: auto;
89
89
  padding: env(--space-8) env(--space-16) env(--space-8) env(--space-16);
90
90
  overflow: auto;
91
91
 
@@ -1,6 +1,6 @@
1
1
  .Separator {
2
2
  border: 0;
3
3
  margin: 0;
4
- height: 1px;
4
+ block-size: 1px;
5
5
  border-bottom: 1px solid var(--dimmed-2);
6
6
  }
@@ -17,14 +17,14 @@
17
17
  .Gradient {
18
18
  clip: rect(0 0 0 0);
19
19
  clip-path: inset(50%);
20
- height: 1px;
20
+ block-size: 1px;
21
21
  overflow: hidden;
22
22
  position: absolute;
23
23
  white-space: nowrap;
24
- width: 1px;
24
+ inline-size: 1px;
25
25
  }
26
26
 
27
27
  .Icon {
28
- width: var(--iconSize);
29
- height: var(--iconSize);
28
+ inline-size: var(--iconSize);
29
+ block-size: var(--iconSize);
30
30
  }
@@ -53,7 +53,7 @@
53
53
 
54
54
  &::after {
55
55
  content: '';
56
- height: 4px;
56
+ block-size: 4px;
57
57
  position: absolute;
58
58
  left: 0;
59
59
  right: 0;
@@ -69,8 +69,6 @@
69
69
  }
70
70
 
71
71
  .TabPanel {
72
- --fadeFromY: 10px;
73
-
74
72
  animation: fadeIn env(--duration-200);
75
73
  animation-timing-function: env(--easing-entrance));
76
74
  }
@@ -1,6 +1,6 @@
1
1
  .Text {
2
2
  line-height: 1.5;
3
- min-height: 0.01vh;
3
+ min-block-size: 0.01vh;
4
4
  font-size: var(--fluid-type-max);
5
5
  max-inline-size: var(--maxW, initial);
6
6
 
package/themes/dark.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 13 Sep 2021 09:48:03 GMT
3
+ * Generated on Thu, 16 Sep 2021 15:33:19 GMT
4
4
  */
5
5
 
6
6
  :root {
package/themes/light.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 13 Sep 2021 09:48:03 GMT
3
+ * Generated on Thu, 16 Sep 2021 15:33:19 GMT
4
4
  */
5
5
 
6
6
  :root {
package/themes.css CHANGED
@@ -3,7 +3,7 @@
3
3
  [data-theme='light'] {
4
4
  /**
5
5
  * Do not edit directly
6
- * Generated on Mon, 13 Sep 2021 09:48:03 GMT
6
+ * Generated on Thu, 16 Sep 2021 15:33:19 GMT
7
7
  */
8
8
 
9
9
 
@@ -48,7 +48,7 @@
48
48
  :root:not([data-theme='light']) {
49
49
  /**
50
50
  * Do not edit directly
51
- * Generated on Mon, 13 Sep 2021 09:48:03 GMT
51
+ * Generated on Thu, 16 Sep 2021 15:33:19 GMT
52
52
  */
53
53
 
54
54
 
@@ -94,7 +94,7 @@
94
94
  :root[data-theme='dark'] {
95
95
  /**
96
96
  * Do not edit directly
97
- * Generated on Mon, 13 Sep 2021 09:48:03 GMT
97
+ * Generated on Thu, 16 Sep 2021 15:33:19 GMT
98
98
  */
99
99
 
100
100
 
@@ -4,7 +4,7 @@
4
4
  display: block;
5
5
  line-height: env(--font-lh-small);
6
6
  color: var(--heading-foreground);
7
- min-height: 0.01vh;
7
+ min-block-size: 0.01vh;
8
8
  font-size: var(--fluid-type-max);
9
9
  max-inline-size: var(--maxW, initial);
10
10