@travelallfly/ui 0.2.0 → 0.3.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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  The shared design system for AllFly apps: design tokens, a Tailwind preset and React components, with a Storybook to browse them. It implements the Figma file [AllFly Design System](https://www.figma.com/design/IctaOawIt0vNkTWvMfcEk7/AllFly-Design-System) (v1.0, light and dark themes).
4
4
 
5
- Status: first scaffold. It contains the foundations and one draft component (Button), which exists to prove the pipeline end to end. Further components are on hold until the theme is locked with design. The first published version is 0.1.0.
5
+ Status: the foundations and the first component, Button, match the final Figma file. Further components follow the build order in [docs/component-inventory.md](docs/component-inventory.md).
6
6
 
7
7
  ## Commands
8
8
 
package/dist/index.cjs CHANGED
@@ -139,12 +139,12 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
139
139
  secondary: [
140
140
  "border border-border-ink bg-bg-surface text-text-primary",
141
141
  "hover:bg-bg-hover active:bg-bg-sunken focus-visible:border-border-focus",
142
- "aria-disabled:border-border-default aria-disabled:text-text-muted"
142
+ "aria-disabled:border-border-strong aria-disabled:text-text-muted"
143
143
  ],
144
144
  destructive: [
145
- "border border-status-error-border bg-bg-surface text-status-error-text",
145
+ "border border-status-error-border bg-bg-surface text-status-error-strong",
146
146
  "hover:bg-status-error-fill active:bg-status-error-fill",
147
- "aria-disabled:border-border-default aria-disabled:text-text-muted"
147
+ "aria-disabled:border-border-strong aria-disabled:text-text-muted"
148
148
  ],
149
149
  link: [
150
150
  "text-text-link",
package/dist/index.js CHANGED
@@ -104,12 +104,12 @@ var buttonVariants = cva(
104
104
  secondary: [
105
105
  "border border-border-ink bg-bg-surface text-text-primary",
106
106
  "hover:bg-bg-hover active:bg-bg-sunken focus-visible:border-border-focus",
107
- "aria-disabled:border-border-default aria-disabled:text-text-muted"
107
+ "aria-disabled:border-border-strong aria-disabled:text-text-muted"
108
108
  ],
109
109
  destructive: [
110
- "border border-status-error-border bg-bg-surface text-status-error-text",
110
+ "border border-status-error-border bg-bg-surface text-status-error-strong",
111
111
  "hover:bg-status-error-fill active:bg-status-error-fill",
112
- "aria-disabled:border-border-default aria-disabled:text-text-muted"
112
+ "aria-disabled:border-border-strong aria-disabled:text-text-muted"
113
113
  ],
114
114
  link: [
115
115
  "text-text-link",
package/dist/utils.cjs CHANGED
@@ -44,12 +44,12 @@ var buttonVariants = _classvarianceauthority.cva.call(void 0,
44
44
  secondary: [
45
45
  "border border-border-ink bg-bg-surface text-text-primary",
46
46
  "hover:bg-bg-hover active:bg-bg-sunken focus-visible:border-border-focus",
47
- "aria-disabled:border-border-default aria-disabled:text-text-muted"
47
+ "aria-disabled:border-border-strong aria-disabled:text-text-muted"
48
48
  ],
49
49
  destructive: [
50
- "border border-status-error-border bg-bg-surface text-status-error-text",
50
+ "border border-status-error-border bg-bg-surface text-status-error-strong",
51
51
  "hover:bg-status-error-fill active:bg-status-error-fill",
52
- "aria-disabled:border-border-default aria-disabled:text-text-muted"
52
+ "aria-disabled:border-border-strong aria-disabled:text-text-muted"
53
53
  ],
54
54
  link: [
55
55
  "text-text-link",
package/dist/utils.js CHANGED
@@ -44,12 +44,12 @@ var buttonVariants = cva(
44
44
  secondary: [
45
45
  "border border-border-ink bg-bg-surface text-text-primary",
46
46
  "hover:bg-bg-hover active:bg-bg-sunken focus-visible:border-border-focus",
47
- "aria-disabled:border-border-default aria-disabled:text-text-muted"
47
+ "aria-disabled:border-border-strong aria-disabled:text-text-muted"
48
48
  ],
49
49
  destructive: [
50
- "border border-status-error-border bg-bg-surface text-status-error-text",
50
+ "border border-status-error-border bg-bg-surface text-status-error-strong",
51
51
  "hover:bg-status-error-fill active:bg-status-error-fill",
52
- "aria-disabled:border-border-default aria-disabled:text-text-muted"
52
+ "aria-disabled:border-border-strong aria-disabled:text-text-muted"
53
53
  ],
54
54
  link: [
55
55
  "text-text-link",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travelallfly/ui",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "AllFly design system: tokens, Tailwind preset and shared React components",
5
5
  "repository": {
6
6
  "type": "git",