@mittwald/flow-design-tokens 1.2.0-next.9 → 1.3.0-next.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.
@@ -195,6 +195,7 @@
195
195
  --switch--track-width: 2.75rem;
196
196
  --switch--track-corner-radius: 0.75rem;
197
197
  --switch--handle-size: 1.25rem;
198
+ --coach-mark--max-width: 360px;
198
199
  --contextual-help--max-width: 500px;
199
200
  --modal--size--s: 660px;
200
201
  --modal--size--m: 900px;
@@ -537,6 +538,7 @@
537
538
  --modal--off-canvas-max-width: calc(100dvw - var(--size-px--m));
538
539
  --popover--padding--m: var(--size-px--m);
539
540
  --popover--padding--s: var(--size-px--s);
541
+ --popover--viewport-padding: var(--size-px--m);
540
542
  --popover--border-style: var(--border-style--default);
541
543
  --popover--spacing: var(--size-px--s);
542
544
  --popover--popover-to-trigger-spacing: var(--size-px--m);
@@ -1075,6 +1077,7 @@
1075
1077
  --notification--border-x-start-width: var(--border-width--300);
1076
1078
  --notification--border-width: var(--border-width--100);
1077
1079
  --notification--border-color: var(--neutral--color--300);
1080
+ --notification--max-width: calc(100dvw - 2 * var(--notification-provider--window-to-provider-spacing));
1078
1081
  --notification--info-background-color--default: var(--neutral--color--100);
1079
1082
  --notification--warning-background-color--default: var(--neutral--color--100);
1080
1083
  --notification--danger-background-color--default: var(--neutral--color--100);
@@ -195,6 +195,7 @@
195
195
  --switch--track-width: 2.75rem;
196
196
  --switch--track-corner-radius: 0.75rem;
197
197
  --switch--handle-size: 1.25rem;
198
+ --coach-mark--max-width: 360px;
198
199
  --contextual-help--max-width: 500px;
199
200
  --modal--size--s: 660px;
200
201
  --modal--size--m: 900px;
@@ -537,6 +538,7 @@
537
538
  --modal--off-canvas-max-width: calc(100dvw - var(--size-px--m));
538
539
  --popover--padding--m: var(--size-px--m);
539
540
  --popover--padding--s: var(--size-px--s);
541
+ --popover--viewport-padding: var(--size-px--m);
540
542
  --popover--border-style: var(--border-style--default);
541
543
  --popover--spacing: var(--size-px--s);
542
544
  --popover--popover-to-trigger-spacing: var(--size-px--m);
@@ -1075,6 +1077,7 @@
1075
1077
  --notification--border-x-start-width: var(--border-width--300);
1076
1078
  --notification--border-width: var(--border-width--100);
1077
1079
  --notification--border-color: var(--neutral--color--300);
1080
+ --notification--max-width: calc(100dvw - 2 * var(--notification-provider--window-to-provider-spacing));
1078
1081
  --notification--info-background-color--default: var(--neutral--color--100);
1079
1082
  --notification--warning-background-color--default: var(--neutral--color--100);
1080
1083
  --notification--danger-background-color--default: var(--neutral--color--100);
package/dist/css/base.css CHANGED
@@ -38,6 +38,7 @@
38
38
  --switch--track-width: 2.75rem;
39
39
  --switch--track-corner-radius: 0.75rem;
40
40
  --switch--handle-size: 1.25rem;
41
+ --coach-mark--max-width: 360px;
41
42
  --contextual-help--max-width: 500px;
42
43
  --modal--size--s: 660px;
43
44
  --modal--size--m: 900px;
@@ -380,6 +381,7 @@
380
381
  --modal--off-canvas-max-width: calc(100dvw - var(--size-px--m));
381
382
  --popover--padding--m: var(--size-px--m);
382
383
  --popover--padding--s: var(--size-px--s);
384
+ --popover--viewport-padding: var(--size-px--m);
383
385
  --popover--border-style: var(--border-style--default);
384
386
  --popover--spacing: var(--size-px--s);
385
387
  --popover--popover-to-trigger-spacing: var(--size-px--m);
@@ -918,6 +920,7 @@
918
920
  --notification--border-x-start-width: var(--border-width--300);
919
921
  --notification--border-width: var(--border-width--100);
920
922
  --notification--border-color: var(--neutral--color--300);
923
+ --notification--max-width: calc(100dvw - 2 * var(--notification-provider--window-to-provider-spacing));
921
924
  --notification--info-background-color--default: var(--neutral--color--100);
922
925
  --notification--warning-background-color--default: var(--neutral--color--100);
923
926
  --notification--danger-background-color--default: var(--neutral--color--100);
@@ -196,6 +196,7 @@
196
196
  --switch--track-width: 2.75rem;
197
197
  --switch--track-corner-radius: 0.75rem;
198
198
  --switch--handle-size: 1.25rem;
199
+ --coach-mark--max-width: 360px;
199
200
  --contextual-help--max-width: 500px;
200
201
  --modal--size--s: 660px;
201
202
  --modal--size--m: 900px;
@@ -538,6 +539,7 @@
538
539
  --modal--off-canvas-max-width: calc(100dvw - var(--size-px--m));
539
540
  --popover--padding--m: var(--size-px--m);
540
541
  --popover--padding--s: var(--size-px--s);
542
+ --popover--viewport-padding: var(--size-px--m);
541
543
  --popover--border-style: var(--border-style--default);
542
544
  --popover--spacing: var(--size-px--s);
543
545
  --popover--popover-to-trigger-spacing: var(--size-px--m);
@@ -1076,6 +1078,7 @@
1076
1078
  --notification--border-x-start-width: var(--border-width--300);
1077
1079
  --notification--border-width: var(--border-width--100);
1078
1080
  --notification--border-color: var(--neutral--color--300);
1081
+ --notification--max-width: calc(100dvw - 2 * var(--notification-provider--window-to-provider-spacing));
1079
1082
  --notification--info-background-color--default: var(--neutral--color--100);
1080
1083
  --notification--warning-background-color--default: var(--neutral--color--100);
1081
1084
  --notification--danger-background-color--default: var(--neutral--color--100);
@@ -196,6 +196,7 @@
196
196
  --switch--track-width: 2.75rem;
197
197
  --switch--track-corner-radius: 0.75rem;
198
198
  --switch--handle-size: 1.25rem;
199
+ --coach-mark--max-width: 360px;
199
200
  --contextual-help--max-width: 500px;
200
201
  --modal--size--s: 660px;
201
202
  --modal--size--m: 900px;
@@ -538,6 +539,7 @@
538
539
  --modal--off-canvas-max-width: calc(100dvw - var(--size-px--m));
539
540
  --popover--padding--m: var(--size-px--m);
540
541
  --popover--padding--s: var(--size-px--s);
542
+ --popover--viewport-padding: var(--size-px--m);
541
543
  --popover--border-style: var(--border-style--default);
542
544
  --popover--spacing: var(--size-px--s);
543
545
  --popover--popover-to-trigger-spacing: var(--size-px--m);
@@ -1076,6 +1078,7 @@
1076
1078
  --notification--border-x-start-width: var(--border-width--300);
1077
1079
  --notification--border-width: var(--border-width--100);
1078
1080
  --notification--border-color: var(--neutral--color--300);
1081
+ --notification--max-width: calc(100dvw - 2 * var(--notification-provider--window-to-provider-spacing));
1079
1082
  --notification--info-background-color--default: var(--neutral--color--100);
1080
1083
  --notification--warning-background-color--default: var(--neutral--color--100);
1081
1084
  --notification--danger-background-color--default: var(--neutral--color--100);
@@ -39,6 +39,7 @@
39
39
  --switch--track-width: 2.75rem;
40
40
  --switch--track-corner-radius: 0.75rem;
41
41
  --switch--handle-size: 1.25rem;
42
+ --coach-mark--max-width: 360px;
42
43
  --contextual-help--max-width: 500px;
43
44
  --modal--size--s: 660px;
44
45
  --modal--size--m: 900px;
@@ -381,6 +382,7 @@
381
382
  --modal--off-canvas-max-width: calc(100dvw - var(--size-px--m));
382
383
  --popover--padding--m: var(--size-px--m);
383
384
  --popover--padding--s: var(--size-px--s);
385
+ --popover--viewport-padding: var(--size-px--m);
384
386
  --popover--border-style: var(--border-style--default);
385
387
  --popover--spacing: var(--size-px--s);
386
388
  --popover--popover-to-trigger-spacing: var(--size-px--m);
@@ -919,6 +921,7 @@
919
921
  --notification--border-x-start-width: var(--border-width--300);
920
922
  --notification--border-width: var(--border-width--100);
921
923
  --notification--border-color: var(--neutral--color--300);
924
+ --notification--max-width: calc(100dvw - 2 * var(--notification-provider--window-to-provider-spacing));
922
925
  --notification--info-background-color--default: var(--neutral--color--100);
923
926
  --notification--warning-background-color--default: var(--neutral--color--100);
924
927
  --notification--danger-background-color--default: var(--neutral--color--100);
@@ -22890,6 +22890,27 @@
22890
22890
  ]
22891
22891
  }
22892
22892
  },
22893
+ "coach-mark": {
22894
+ "max-width": {
22895
+ "key": "{coach-mark.max-width}",
22896
+ "value": "360px",
22897
+ "filePath": "src/overlays/coach-mark.yml",
22898
+ "isSource": true,
22899
+ "original": {
22900
+ "value": "360px",
22901
+ "key": "{coach-mark.max-width}"
22902
+ },
22903
+ "name": "CoachMarkMaxWidth",
22904
+ "attributes": {
22905
+ "category": "coach-mark",
22906
+ "type": "max-width"
22907
+ },
22908
+ "path": [
22909
+ "coach-mark",
22910
+ "max-width"
22911
+ ]
22912
+ }
22913
+ },
22893
22914
  "contextual-help": {
22894
22915
  "max-width": {
22895
22916
  "key": "{contextual-help.max-width}",
@@ -23559,6 +23580,25 @@
23559
23580
  "min-width"
23560
23581
  ]
23561
23582
  },
23583
+ "viewport-padding": {
23584
+ "key": "{popover.viewport-padding}",
23585
+ "value": "16px",
23586
+ "filePath": "src/overlays/popover.yml",
23587
+ "isSource": true,
23588
+ "original": {
23589
+ "value": "{size-px.m}",
23590
+ "key": "{popover.viewport-padding}"
23591
+ },
23592
+ "name": "PopoverViewportPadding",
23593
+ "attributes": {
23594
+ "category": "popover",
23595
+ "type": "viewport-padding"
23596
+ },
23597
+ "path": [
23598
+ "popover",
23599
+ "viewport-padding"
23600
+ ]
23601
+ },
23562
23602
  "border-width": {
23563
23603
  "key": "{popover.border-width}",
23564
23604
  "value": "1px",
@@ -28019,6 +28059,25 @@
28019
28059
  "width"
28020
28060
  ]
28021
28061
  },
28062
+ "max-width": {
28063
+ "key": "{notification.max-width}",
28064
+ "value": "calc(100dvw - 2 * 32px)",
28065
+ "filePath": "src/status/notification.yml",
28066
+ "isSource": true,
28067
+ "original": {
28068
+ "value": "calc(100dvw - 2 * {notification-provider.window-to-provider-spacing})",
28069
+ "key": "{notification.max-width}"
28070
+ },
28071
+ "name": "NotificationMaxWidth",
28072
+ "attributes": {
28073
+ "category": "notification",
28074
+ "type": "max-width"
28075
+ },
28076
+ "path": [
28077
+ "notification",
28078
+ "max-width"
28079
+ ]
28080
+ },
28022
28081
  "heading-to-text-spacing": {
28023
28082
  "key": "{notification.heading-to-text-spacing}",
28024
28083
  "value": "0.25rem",
@@ -22890,6 +22890,27 @@
22890
22890
  ]
22891
22891
  }
22892
22892
  },
22893
+ "coach-mark": {
22894
+ "max-width": {
22895
+ "key": "{coach-mark.max-width}",
22896
+ "value": "360px",
22897
+ "filePath": "src/overlays/coach-mark.yml",
22898
+ "isSource": true,
22899
+ "original": {
22900
+ "value": "360px",
22901
+ "key": "{coach-mark.max-width}"
22902
+ },
22903
+ "name": "CoachMarkMaxWidth",
22904
+ "attributes": {
22905
+ "category": "coach-mark",
22906
+ "type": "max-width"
22907
+ },
22908
+ "path": [
22909
+ "coach-mark",
22910
+ "max-width"
22911
+ ]
22912
+ }
22913
+ },
22893
22914
  "contextual-help": {
22894
22915
  "max-width": {
22895
22916
  "key": "{contextual-help.max-width}",
@@ -23559,6 +23580,25 @@
23559
23580
  "min-width"
23560
23581
  ]
23561
23582
  },
23583
+ "viewport-padding": {
23584
+ "key": "{popover.viewport-padding}",
23585
+ "value": "16px",
23586
+ "filePath": "src/overlays/popover.yml",
23587
+ "isSource": true,
23588
+ "original": {
23589
+ "value": "{size-px.m}",
23590
+ "key": "{popover.viewport-padding}"
23591
+ },
23592
+ "name": "PopoverViewportPadding",
23593
+ "attributes": {
23594
+ "category": "popover",
23595
+ "type": "viewport-padding"
23596
+ },
23597
+ "path": [
23598
+ "popover",
23599
+ "viewport-padding"
23600
+ ]
23601
+ },
23562
23602
  "border-width": {
23563
23603
  "key": "{popover.border-width}",
23564
23604
  "value": "1px",
@@ -28019,6 +28059,25 @@
28019
28059
  "width"
28020
28060
  ]
28021
28061
  },
28062
+ "max-width": {
28063
+ "key": "{notification.max-width}",
28064
+ "value": "calc(100dvw - 2 * 32px)",
28065
+ "filePath": "src/status/notification.yml",
28066
+ "isSource": true,
28067
+ "original": {
28068
+ "value": "calc(100dvw - 2 * {notification-provider.window-to-provider-spacing})",
28069
+ "key": "{notification.max-width}"
28070
+ },
28071
+ "name": "NotificationMaxWidth",
28072
+ "attributes": {
28073
+ "category": "notification",
28074
+ "type": "max-width"
28075
+ },
28076
+ "path": [
28077
+ "notification",
28078
+ "max-width"
28079
+ ]
28080
+ },
28022
28081
  "heading-to-text-spacing": {
28023
28082
  "key": "{notification.heading-to-text-spacing}",
28024
28083
  "value": "0.25rem",
@@ -19567,6 +19567,27 @@
19567
19567
  ]
19568
19568
  }
19569
19569
  },
19570
+ "coach-mark": {
19571
+ "max-width": {
19572
+ "key": "{coach-mark.max-width}",
19573
+ "value": "360px",
19574
+ "filePath": "src/overlays/coach-mark.yml",
19575
+ "isSource": true,
19576
+ "original": {
19577
+ "value": "360px",
19578
+ "key": "{coach-mark.max-width}"
19579
+ },
19580
+ "name": "CoachMarkMaxWidth",
19581
+ "attributes": {
19582
+ "category": "coach-mark",
19583
+ "type": "max-width"
19584
+ },
19585
+ "path": [
19586
+ "coach-mark",
19587
+ "max-width"
19588
+ ]
19589
+ }
19590
+ },
19570
19591
  "contextual-help": {
19571
19592
  "max-width": {
19572
19593
  "key": "{contextual-help.max-width}",
@@ -20236,6 +20257,25 @@
20236
20257
  "min-width"
20237
20258
  ]
20238
20259
  },
20260
+ "viewport-padding": {
20261
+ "key": "{popover.viewport-padding}",
20262
+ "value": "16px",
20263
+ "filePath": "src/overlays/popover.yml",
20264
+ "isSource": true,
20265
+ "original": {
20266
+ "value": "{size-px.m}",
20267
+ "key": "{popover.viewport-padding}"
20268
+ },
20269
+ "name": "PopoverViewportPadding",
20270
+ "attributes": {
20271
+ "category": "popover",
20272
+ "type": "viewport-padding"
20273
+ },
20274
+ "path": [
20275
+ "popover",
20276
+ "viewport-padding"
20277
+ ]
20278
+ },
20239
20279
  "border-width": {
20240
20280
  "key": "{popover.border-width}",
20241
20281
  "value": "1px",
@@ -24696,6 +24736,25 @@
24696
24736
  "width"
24697
24737
  ]
24698
24738
  },
24739
+ "max-width": {
24740
+ "key": "{notification.max-width}",
24741
+ "value": "calc(100dvw - 2 * 32px)",
24742
+ "filePath": "src/status/notification.yml",
24743
+ "isSource": true,
24744
+ "original": {
24745
+ "value": "calc(100dvw - 2 * {notification-provider.window-to-provider-spacing})",
24746
+ "key": "{notification.max-width}"
24747
+ },
24748
+ "name": "NotificationMaxWidth",
24749
+ "attributes": {
24750
+ "category": "notification",
24751
+ "type": "max-width"
24752
+ },
24753
+ "path": [
24754
+ "notification",
24755
+ "max-width"
24756
+ ]
24757
+ },
24699
24758
  "heading-to-text-spacing": {
24700
24759
  "key": "{notification.heading-to-text-spacing}",
24701
24760
  "value": "0.25rem",
@@ -8903,6 +8903,15 @@
8903
8903
  ]
8904
8904
  }
8905
8905
  },
8906
+ "coach-mark": {
8907
+ "max-width": {
8908
+ "value": "360px",
8909
+ "path": [
8910
+ "coach-mark",
8911
+ "max-width"
8912
+ ]
8913
+ }
8914
+ },
8906
8915
  "contextual-help": {
8907
8916
  "max-width": {
8908
8917
  "value": "500px",
@@ -9159,6 +9168,13 @@
9159
9168
  "min-width"
9160
9169
  ]
9161
9170
  },
9171
+ "viewport-padding": {
9172
+ "value": "16px",
9173
+ "path": [
9174
+ "popover",
9175
+ "viewport-padding"
9176
+ ]
9177
+ },
9162
9178
  "border-width": {
9163
9179
  "value": "1px",
9164
9180
  "path": [
@@ -10844,6 +10860,13 @@
10844
10860
  "width"
10845
10861
  ]
10846
10862
  },
10863
+ "max-width": {
10864
+ "value": "calc(100dvw - 2 * 32px)",
10865
+ "path": [
10866
+ "notification",
10867
+ "max-width"
10868
+ ]
10869
+ },
10847
10870
  "heading-to-text-spacing": {
10848
10871
  "value": "0.25rem",
10849
10872
  "path": [
@@ -8903,6 +8903,15 @@
8903
8903
  ]
8904
8904
  }
8905
8905
  },
8906
+ "coach-mark": {
8907
+ "max-width": {
8908
+ "value": "360px",
8909
+ "path": [
8910
+ "coach-mark",
8911
+ "max-width"
8912
+ ]
8913
+ }
8914
+ },
8906
8915
  "contextual-help": {
8907
8916
  "max-width": {
8908
8917
  "value": "500px",
@@ -9159,6 +9168,13 @@
9159
9168
  "min-width"
9160
9169
  ]
9161
9170
  },
9171
+ "viewport-padding": {
9172
+ "value": "16px",
9173
+ "path": [
9174
+ "popover",
9175
+ "viewport-padding"
9176
+ ]
9177
+ },
9162
9178
  "border-width": {
9163
9179
  "value": "1px",
9164
9180
  "path": [
@@ -10844,6 +10860,13 @@
10844
10860
  "width"
10845
10861
  ]
10846
10862
  },
10863
+ "max-width": {
10864
+ "value": "calc(100dvw - 2 * 32px)",
10865
+ "path": [
10866
+ "notification",
10867
+ "max-width"
10868
+ ]
10869
+ },
10847
10870
  "heading-to-text-spacing": {
10848
10871
  "value": "0.25rem",
10849
10872
  "path": [
@@ -7618,6 +7618,15 @@
7618
7618
  ]
7619
7619
  }
7620
7620
  },
7621
+ "coach-mark": {
7622
+ "max-width": {
7623
+ "value": "360px",
7624
+ "path": [
7625
+ "coach-mark",
7626
+ "max-width"
7627
+ ]
7628
+ }
7629
+ },
7621
7630
  "contextual-help": {
7622
7631
  "max-width": {
7623
7632
  "value": "500px",
@@ -7874,6 +7883,13 @@
7874
7883
  "min-width"
7875
7884
  ]
7876
7885
  },
7886
+ "viewport-padding": {
7887
+ "value": "16px",
7888
+ "path": [
7889
+ "popover",
7890
+ "viewport-padding"
7891
+ ]
7892
+ },
7877
7893
  "border-width": {
7878
7894
  "value": "1px",
7879
7895
  "path": [
@@ -9559,6 +9575,13 @@
9559
9575
  "width"
9560
9576
  ]
9561
9577
  },
9578
+ "max-width": {
9579
+ "value": "calc(100dvw - 2 * 32px)",
9580
+ "path": [
9581
+ "notification",
9582
+ "max-width"
9583
+ ]
9584
+ },
9562
9585
  "heading-to-text-spacing": {
9563
9586
  "value": "0.25rem",
9564
9587
  "path": [
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@mittwald/flow-design-tokens",
3
- "version": "1.2.0-next.9",
3
+ "version": "1.3.0-next.0",
4
4
  "type": "module",
5
5
  "description": "The design tokens used in Flow, mittwald’s design system",
6
6
  "homepage": "https://github.com/mittwald/flow/tree/main/packages/design-tokens",
7
7
  "repository": "https://github.com/mittwald/flow",
8
+ "license": "MIT",
8
9
  "exports": {
9
10
  "./css/*": "./dist/css/*",
10
11
  "./css-layered/*": "./dist/css-layered/*",
@@ -29,5 +30,5 @@
29
30
  "rimraf": "^6.1.3",
30
31
  "style-dictionary": "^5.5.2"
31
32
  },
32
- "gitHead": "f63082035b7e221f573463c84fea6b7b4a89f56d"
33
+ "gitHead": "5b5ef7835ddf1b1c50f9cd0917abd4b435676fe9"
33
34
  }