@ni/nimble-components 1.0.0-beta.124 → 1.0.0-beta.128

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 (82) hide show
  1. package/README.md +38 -16
  2. package/dist/esm/button/styles.js +10 -9
  3. package/dist/esm/button/styles.js.map +1 -1
  4. package/dist/esm/checkbox/styles.js +4 -4
  5. package/dist/esm/checkbox/styles.js.map +1 -1
  6. package/dist/esm/drawer/styles.js +4 -4
  7. package/dist/esm/drawer/styles.js.map +1 -1
  8. package/dist/esm/icon-base/styles.js +6 -6
  9. package/dist/esm/icon-base/styles.js.map +1 -1
  10. package/dist/esm/icon-base/template.js +1 -1
  11. package/dist/esm/icons/all-icons.d.ts +9 -0
  12. package/dist/esm/icons/all-icons.js +9 -0
  13. package/dist/esm/icons/all-icons.js.map +1 -1
  14. package/dist/esm/icons/custom-status.d.ts +12 -0
  15. package/dist/esm/icons/custom-status.js +12 -0
  16. package/dist/esm/icons/custom-status.js.map +1 -0
  17. package/dist/esm/icons/done.d.ts +12 -0
  18. package/dist/esm/icons/done.js +12 -0
  19. package/dist/esm/icons/done.js.map +1 -0
  20. package/dist/esm/icons/looping.d.ts +12 -0
  21. package/dist/esm/icons/looping.js +12 -0
  22. package/dist/esm/icons/looping.js.map +1 -0
  23. package/dist/esm/icons/running.d.ts +12 -0
  24. package/dist/esm/icons/running.js +12 -0
  25. package/dist/esm/icons/running.js.map +1 -0
  26. package/dist/esm/icons/skipped.d.ts +12 -0
  27. package/dist/esm/icons/skipped.js +12 -0
  28. package/dist/esm/icons/skipped.js.map +1 -0
  29. package/dist/esm/icons/status.d.ts +12 -0
  30. package/dist/esm/icons/status.js +12 -0
  31. package/dist/esm/icons/status.js.map +1 -0
  32. package/dist/esm/icons/terminated.d.ts +12 -0
  33. package/dist/esm/icons/terminated.js +12 -0
  34. package/dist/esm/icons/terminated.js.map +1 -0
  35. package/dist/esm/icons/timed-out.d.ts +12 -0
  36. package/dist/esm/icons/timed-out.js +12 -0
  37. package/dist/esm/icons/timed-out.js.map +1 -0
  38. package/dist/esm/icons/waiting.d.ts +12 -0
  39. package/dist/esm/icons/waiting.js +12 -0
  40. package/dist/esm/icons/waiting.js.map +1 -0
  41. package/dist/esm/nimble-components/src/icons/all-icons.d.ts +9 -0
  42. package/dist/esm/nimble-components/src/icons/custom-status.d.ts +12 -0
  43. package/dist/esm/nimble-components/src/icons/done.d.ts +12 -0
  44. package/dist/esm/nimble-components/src/icons/looping.d.ts +12 -0
  45. package/dist/esm/nimble-components/src/icons/running.d.ts +12 -0
  46. package/dist/esm/nimble-components/src/icons/skipped.d.ts +12 -0
  47. package/dist/esm/nimble-components/src/icons/status.d.ts +12 -0
  48. package/dist/esm/nimble-components/src/icons/terminated.d.ts +12 -0
  49. package/dist/esm/nimble-components/src/icons/timed-out.d.ts +12 -0
  50. package/dist/esm/nimble-components/src/icons/waiting.d.ts +12 -0
  51. package/dist/esm/nimble-components/src/theme-provider/design-token-comments.d.ts +6 -0
  52. package/dist/esm/nimble-components/src/theme-provider/design-token-names.d.ts +11 -0
  53. package/dist/esm/nimble-components/src/theme-provider/design-tokens.d.ts +4 -9
  54. package/dist/esm/nimble-components/src/theme-provider/index.d.ts +8 -2
  55. package/dist/esm/nimble-components/src/utilities/style/direction.d.ts +34 -0
  56. package/dist/esm/number-field/styles.js +3 -3
  57. package/dist/esm/number-field/styles.js.map +1 -1
  58. package/dist/esm/tabs-toolbar/styles.js +3 -2
  59. package/dist/esm/tabs-toolbar/styles.js.map +1 -1
  60. package/dist/esm/text-field/styles.js +3 -3
  61. package/dist/esm/text-field/styles.js.map +1 -1
  62. package/dist/esm/theme-provider/design-token-comments.d.ts +6 -0
  63. package/dist/esm/theme-provider/design-token-comments.js +46 -0
  64. package/dist/esm/theme-provider/design-token-comments.js.map +1 -0
  65. package/dist/esm/theme-provider/design-token-names.d.ts +11 -0
  66. package/dist/esm/theme-provider/design-token-names.js +52 -0
  67. package/dist/esm/theme-provider/design-token-names.js.map +1 -0
  68. package/dist/esm/theme-provider/design-tokens.d.ts +4 -9
  69. package/dist/esm/theme-provider/design-tokens.js +78 -90
  70. package/dist/esm/theme-provider/design-tokens.js.map +1 -1
  71. package/dist/esm/theme-provider/index.d.ts +8 -2
  72. package/dist/esm/theme-provider/index.js +35 -2
  73. package/dist/esm/theme-provider/index.js.map +1 -1
  74. package/dist/esm/tree-item/styles.js +9 -7
  75. package/dist/esm/tree-item/styles.js.map +1 -1
  76. package/dist/esm/utilities/style/direction.d.ts +34 -0
  77. package/dist/esm/utilities/style/direction.js +78 -0
  78. package/dist/esm/utilities/style/direction.js.map +1 -0
  79. package/dist/fonts.scss +3 -0
  80. package/dist/tokens-internal.scss +261 -0
  81. package/dist/tokens.scss +135 -0
  82. package/package.json +10 -6
@@ -2,19 +2,69 @@ import { DesignToken } from '@microsoft/fast-foundation';
2
2
  import hexRgb from 'hex-rgb';
3
3
  import { Black91, Black88, Black85, Black15, Black75, White, Enterprise, Selection100, SlLegacyBlue, Fail100LightUi, SmallDelay, MediumDelay, Fail100DarkUi, BodyFamily, BodySize, ControlLabel1Family, ControlLabel1Size, ControlLabel1Weight, Warning100LightUi, Warning100DarkUi, Pass100LightUi, Pass100DarkUi, Title2Size, Title2Family, GroupLabel1Family, GroupLabel1Size, GroupLabel1Weight, LegacyContentFamily } from '@ni/nimble-tokens/dist/styledictionary/js/tokens';
4
4
  import { NimbleTheme } from './types';
5
- function rgbString(hexValue) {
5
+ import { tokenNames, styleNameFromTokenName } from './design-token-names';
6
+ import { theme } from '.';
7
+ // Color Tokens
8
+ export const actionColorRgbPartial = DesignToken.create(styleNameFromTokenName(tokenNames.actionColorRgbPartial)).withDefault((element) => hexToRgbPartial(getColorForTheme(element, Black91, Black15, White, SlLegacyBlue)));
9
+ export const applicationBackgroundColor = DesignToken.create(styleNameFromTokenName(tokenNames.applicationBackgroundColor)).withDefault((element) => getColorForTheme(element, White, Black85, Enterprise, White));
10
+ export const fillColorSelected = DesignToken.create(styleNameFromTokenName(tokenNames.fillColorSelected)).withDefault((element) => hexToRgbaCssColor(getFillColorSelectedForTheme(element), 0.3));
11
+ export const fillColorSelectedRgbPartial = DesignToken.create(styleNameFromTokenName(tokenNames.fillColorSelectedRgbPartial)).withDefault((element) => hexToRgbPartial(getFillColorSelectedForTheme(element)));
12
+ export const fillColorSelectedHover = DesignToken.create(styleNameFromTokenName(tokenNames.fillColorSelectedHover)).withDefault((element) => hexToRgbaCssColor(getFillColorSelectedForTheme(element), 0.15));
13
+ export const fillColorHover = DesignToken.create(styleNameFromTokenName(tokenNames.fillColorHover)).withDefault((element) => hexToRgbaCssColor(getFillColorHoverForTheme(element), 0.1));
14
+ export const borderColor = DesignToken.create(styleNameFromTokenName(tokenNames.borderColor)).withDefault((element) => getDefaultLineColorForTheme(element));
15
+ export const borderColorRgbPartial = DesignToken.create(styleNameFromTokenName(tokenNames.borderColorRgbPartial)).withDefault((element) => hexToRgbPartial(getDefaultLineColorForTheme(element)));
16
+ export const failColor = DesignToken.create(styleNameFromTokenName(tokenNames.failColor)).withDefault((element) => getFailColorForTheme(element));
17
+ export const warningColor = DesignToken.create(styleNameFromTokenName(tokenNames.warningColor)).withDefault((element) => getWarningColorForTheme(element));
18
+ export const passColor = DesignToken.create(styleNameFromTokenName(tokenNames.passColor)).withDefault((element) => getPassColorForTheme(element));
19
+ export const borderColorHover = DesignToken.create(styleNameFromTokenName(tokenNames.borderColorHover)).withDefault((element) => getColorForTheme(element, Selection100, Selection100, White, hexToRgbaCssColor(SlLegacyBlue, 0.9)));
20
+ // Component Color Tokens
21
+ export const iconColor = DesignToken.create(styleNameFromTokenName(tokenNames.iconColor)).withDefault((element) => getColorForTheme(element, Black91, Black15, White, Black88));
22
+ export const popupBoxShadowColor = DesignToken.create(styleNameFromTokenName(tokenNames.popupBoxShadowColor)).withDefault((element) => hexToRgbaCssColor(getColorForTheme(element, Black75, Black85, Black85, Black75), 0.3));
23
+ export const popupBorderColor = DesignToken.create(styleNameFromTokenName(tokenNames.popupBorderColor)).withDefault((element) => hexToRgbaCssColor(getColorForTheme(element, Black91, Black15, White, Black91), 0.3));
24
+ // Component Sizing Tokens
25
+ export const controlHeight = DesignToken.create(styleNameFromTokenName(tokenNames.controlHeight)).withDefault('32px');
26
+ export const standardPadding = DesignToken.create(styleNameFromTokenName(tokenNames.standardPadding)).withDefault('16px');
27
+ export const labelHeight = DesignToken.create(styleNameFromTokenName(tokenNames.labelHeight)).withDefault('16px');
28
+ export const borderWidth = DesignToken.create(styleNameFromTokenName(tokenNames.borderWidth)).withDefault('1px');
29
+ export const iconSize = DesignToken.create(styleNameFromTokenName(tokenNames.iconSize)).withDefault('16px');
30
+ export const drawerWidth = DesignToken.create(styleNameFromTokenName(tokenNames.drawerWidth)).withDefault('784px');
31
+ // Font Family Tokens
32
+ export const fontFamily = DesignToken.create(styleNameFromTokenName(tokenNames.fontFamily)).withDefault((element) => getFontForTheme(element));
33
+ export const labelFontFamily = DesignToken.create(styleNameFromTokenName(tokenNames.labelFontFamily)).withDefault((element) => getLabelFontForTheme(element));
34
+ export const groupLabelFontFamily = DesignToken.create(styleNameFromTokenName(tokenNames.groupLabelFontFamily)).withDefault((element) => getGroupLabelFontForTheme(element));
35
+ export const drawerHeaderFontFamily = DesignToken.create(styleNameFromTokenName(tokenNames.drawerHeaderFontFamily)).withDefault(Title2Family);
36
+ // Font Sizing Tokens
37
+ export const labelFontSize = DesignToken.create(styleNameFromTokenName(tokenNames.labelFontSize)).withDefault((element) => getLabelTextSizeForTheme(element));
38
+ export const contentFontSize = DesignToken.create(styleNameFromTokenName(tokenNames.contentFontSize)).withDefault(BodySize);
39
+ export const groupLabelFontSize = DesignToken.create(styleNameFromTokenName(tokenNames.groupLabelFontSize)).withDefault(GroupLabel1Size);
40
+ export const drawerHeaderFontSize = DesignToken.create(styleNameFromTokenName(tokenNames.drawerHeaderFontSize)).withDefault(Title2Size);
41
+ // Font Weight Tokens
42
+ export const groupLabelFontWeight = DesignToken.create(styleNameFromTokenName(tokenNames.groupLabelFontWeight)).withDefault(GroupLabel1Weight);
43
+ export const labelFontWeight = DesignToken.create(styleNameFromTokenName(tokenNames.labelFontWeight)).withDefault(ControlLabel1Weight);
44
+ // Font Color Tokens
45
+ export const labelFontColor = DesignToken.create(styleNameFromTokenName(tokenNames.labelFontColor)).withDefault((element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.6));
46
+ export const groupLabelFontColor = DesignToken.create(styleNameFromTokenName(tokenNames.groupLabelFontColor)).withDefault((element) => getDefaultFontColorForTheme(element));
47
+ export const contentFontColor = DesignToken.create(styleNameFromTokenName(tokenNames.contentFontColor)).withDefault((element) => getColorForTheme(element, Black91, Black15, White, Black88));
48
+ export const buttonContentFontColor = DesignToken.create(styleNameFromTokenName(tokenNames.buttonContentFontColor)).withDefault((element) => getColorForTheme(element, Black91, Black15, White, SlLegacyBlue));
49
+ export const labelFontColorDisabled = DesignToken.create(styleNameFromTokenName(tokenNames.labelFontColorDisabled)).withDefault((element) => hexToRgbaCssColor(getDefaultLineColorForTheme(element), 0.3));
50
+ export const labelTextTransform = DesignToken.create(styleNameFromTokenName(tokenNames.labelTextTransform)).withDefault((element) => getLabelTextTransformForTheme(element));
51
+ export const groupLabelTextTransform = DesignToken.create(styleNameFromTokenName(tokenNames.groupLabelTextTransform)).withDefault((element) => getGroupLabelTextTransformForTheme(element));
52
+ export const contentFontColorDisabled = DesignToken.create(styleNameFromTokenName(tokenNames.contentFontColorDisabled)).withDefault((element) => hexToRgbaCssColor(getColorForTheme(element, Black91, Black15, White, Black88), 0.3));
53
+ // Animation Tokens
54
+ export const smallDelay = DesignToken.create(styleNameFromTokenName(tokenNames.smallDelay)).withDefault(SmallDelay);
55
+ export const mediumDelay = DesignToken.create(styleNameFromTokenName(tokenNames.mediumDelay)).withDefault(MediumDelay);
56
+ export const drawerAnimationDurationMs = DesignToken.create(styleNameFromTokenName(tokenNames.drawerAnimationDurationMs)).withDefault(250);
57
+ // Filter Tokens
58
+ export const passwordRevealFilter = DesignToken.create(styleNameFromTokenName(tokenNames.passwordRevealFilter)).withDefault((element) => getPasswordRevealFilterForTheme(element));
59
+ // Private helpers functions
60
+ function hexToRgbPartial(hexValue) {
6
61
  const { red, green, blue } = hexRgb(hexValue);
7
62
  return `${red}, ${green}, ${blue}`;
8
63
  }
9
- function hexToRgba(hexValue, alpha) {
64
+ function hexToRgbaCssColor(hexValue, alpha) {
10
65
  const { red, green, blue } = hexRgb(hexValue);
11
66
  return `rgba(${red}, ${green}, ${blue}, ${alpha})`;
12
67
  }
13
- const { create } = DesignToken;
14
- export const theme = create({
15
- name: 'theme',
16
- cssCustomPropertyName: null
17
- }).withDefault(NimbleTheme.Light);
18
68
  function getColorForTheme(element, lightThemeColor, darkThemeColor, colorThemeColor, legacyBlueThemeColor) {
19
69
  switch (theme.getValueFor(element)) {
20
70
  case NimbleTheme.Light:
@@ -29,33 +79,26 @@ function getColorForTheme(element, lightThemeColor, darkThemeColor, colorThemeCo
29
79
  return lightThemeColor;
30
80
  }
31
81
  }
82
+ function getWarningColorForTheme(element) {
83
+ return getColorForTheme(element, Warning100LightUi, Warning100DarkUi, Warning100DarkUi, Warning100LightUi);
84
+ }
85
+ function getFailColorForTheme(element) {
86
+ return getColorForTheme(element, Fail100LightUi, Fail100DarkUi, Fail100DarkUi, Fail100LightUi);
87
+ }
88
+ function getPassColorForTheme(element) {
89
+ return getColorForTheme(element, Pass100LightUi, Pass100DarkUi, Pass100DarkUi, Pass100LightUi);
90
+ }
32
91
  function getDefaultLineColorForTheme(element) {
33
- switch (theme.getValueFor(element)) {
34
- case NimbleTheme.Light:
35
- return Black91;
36
- case NimbleTheme.Dark:
37
- return Black15;
38
- case NimbleTheme.Color:
39
- return White;
40
- case NimbleTheme.LegacyBlue:
41
- return Black91;
42
- default:
43
- return Black91;
44
- }
92
+ return getColorForTheme(element, Black91, Black15, White, Black91);
45
93
  }
46
94
  function getDefaultFontColorForTheme(element) {
47
- switch (theme.getValueFor(element)) {
48
- case NimbleTheme.Light:
49
- return Black91;
50
- case NimbleTheme.Dark:
51
- return Black15;
52
- case NimbleTheme.Color:
53
- return White;
54
- case NimbleTheme.LegacyBlue:
55
- return Black75;
56
- default:
57
- return Black91;
58
- }
95
+ return getColorForTheme(element, Black91, Black15, White, Black75);
96
+ }
97
+ function getFillColorSelectedForTheme(element) {
98
+ return getColorForTheme(element, Selection100, Selection100, White, SlLegacyBlue);
99
+ }
100
+ function getFillColorHoverForTheme(element) {
101
+ return getColorForTheme(element, Black91, Black15, White, SlLegacyBlue);
59
102
  }
60
103
  function getFontForTheme(element) {
61
104
  switch (theme.getValueFor(element)) {
@@ -81,7 +124,7 @@ function getGroupLabelFontForTheme(element) {
81
124
  return `${GroupLabel1Family}, ${BodyFamily}`;
82
125
  }
83
126
  }
84
- function getGroupLabelTextTransform(element) {
127
+ function getGroupLabelTextTransformForTheme(element) {
85
128
  switch (theme.getValueFor(element)) {
86
129
  case NimbleTheme.LegacyBlue:
87
130
  return 'none';
@@ -89,7 +132,7 @@ function getGroupLabelTextTransform(element) {
89
132
  return 'uppercase';
90
133
  }
91
134
  }
92
- function getLabelTextTransform(element) {
135
+ function getLabelTextTransformForTheme(element) {
93
136
  switch (theme.getValueFor(element)) {
94
137
  case NimbleTheme.LegacyBlue:
95
138
  return 'none';
@@ -97,7 +140,7 @@ function getLabelTextTransform(element) {
97
140
  return 'none';
98
141
  }
99
142
  }
100
- function getLabelTextSize(element) {
143
+ function getLabelTextSizeForTheme(element) {
101
144
  switch (theme.getValueFor(element)) {
102
145
  case NimbleTheme.LegacyBlue:
103
146
  return '13px';
@@ -105,7 +148,7 @@ function getLabelTextSize(element) {
105
148
  return ControlLabel1Size;
106
149
  }
107
150
  }
108
- function getPasswordRevealFilter(element) {
151
+ function getPasswordRevealFilterForTheme(element) {
109
152
  switch (theme.getValueFor(element)) {
110
153
  case NimbleTheme.Color:
111
154
  case NimbleTheme.Dark:
@@ -114,59 +157,4 @@ function getPasswordRevealFilter(element) {
114
157
  return 'invert(0%)';
115
158
  }
116
159
  }
117
- const fillColorSelectedTheme = (element) => getColorForTheme(element, Selection100, Selection100, White, SlLegacyBlue);
118
- const fillColorHoverTheme = (element) => getColorForTheme(element, Black91, Black15, White, SlLegacyBlue);
119
- // Color Tokens
120
- export const actionColorRgb = create('action-color-rgb').withDefault((element) => rgbString(getColorForTheme(element, Black91, Black15, White, SlLegacyBlue)));
121
- export const applicationBackgroundColor = create('application-background-color').withDefault((element) => getColorForTheme(element, White, Black85, Enterprise, White));
122
- export const fillColorSelected = create('fill-color-selected').withDefault((element) => hexToRgba(fillColorSelectedTheme(element), 0.3));
123
- export const fillColorSelectedRgb = create('fill-color-selected-rgb').withDefault((element) => rgbString(fillColorSelectedTheme(element)));
124
- export const fillColorSelectedHover = create('fill-color-selected-hover').withDefault((element) => hexToRgba(fillColorSelectedTheme(element), 0.15));
125
- export const fillColorHover = create('fill-color-hover').withDefault((element) => hexToRgba(fillColorHoverTheme(element), 0.1));
126
- export const borderColor = create('border-color').withDefault((element) => getDefaultLineColorForTheme(element));
127
- export const borderColorRgb = create('border-color-rgb').withDefault((element) => rgbString(getDefaultLineColorForTheme(element)));
128
- export const failColorTheme = (element) => getColorForTheme(element, Fail100LightUi, Fail100DarkUi, Fail100DarkUi, Fail100LightUi);
129
- export const failColor = create('fail-color').withDefault((element) => failColorTheme(element));
130
- export const warningColorTheme = (element) => getColorForTheme(element, Warning100LightUi, Warning100DarkUi, Warning100DarkUi, Warning100LightUi);
131
- export const warningColor = create('warning-color').withDefault((element) => warningColorTheme(element));
132
- export const passColorTheme = (element) => getColorForTheme(element, Pass100LightUi, Pass100DarkUi, Pass100DarkUi, Pass100LightUi);
133
- export const passColor = create('pass-color').withDefault((element) => passColorTheme(element));
134
- export const borderColorHover = create('border-color-hover').withDefault((element) => getColorForTheme(element, Selection100, Selection100, White, hexToRgba(SlLegacyBlue, 0.9)));
135
- export const popupBoxShadowColor = create('popup-box-shadow-color').withDefault((element) => hexToRgba(getColorForTheme(element, Black75, Black85, Black85, Black75), 0.3));
136
- export const popupBorderColor = create('popup-border-color').withDefault((element) => hexToRgba(getColorForTheme(element, Black91, Black15, White, Black91), 0.3));
137
- // Component Sizing Tokens
138
- export const controlHeight = create('control-height').withDefault('32px');
139
- export const standardPadding = create('standard-padding').withDefault('16px');
140
- export const labelHeight = create('label-height').withDefault('16px');
141
- export const borderWidth = create('border-width').withDefault('1px');
142
- export const iconSize = create('icon-size').withDefault('16px');
143
- export const drawerWidth = create('drawer-width').withDefault('784px');
144
- // Font Family Tokens
145
- export const fontFamily = create('font-family').withDefault((element) => getFontForTheme(element));
146
- export const labelFontFamily = create('label-font-family').withDefault((element) => getLabelFontForTheme(element));
147
- export const groupLabelFontFamily = create('group-label-font-family').withDefault((element) => getGroupLabelFontForTheme(element));
148
- export const drawerHeaderFontFamily = create('drawer-header-font-family').withDefault(Title2Family);
149
- // Font Sizing Tokens
150
- export const labelFontSize = create('label-font-size').withDefault((element) => getLabelTextSize(element));
151
- export const contentFontSize = create('content-font-size').withDefault(BodySize);
152
- export const groupLabelFontSize = create('group-label-font-size').withDefault(GroupLabel1Size);
153
- export const drawerHeaderFontSize = create('drawer-header-font-size').withDefault(Title2Size);
154
- // Font Weight Tokens
155
- export const groupLabelFontWeight = create('group-label-font-weight').withDefault(GroupLabel1Weight);
156
- export const labelFontWeight = create('label-font-weight').withDefault(ControlLabel1Weight);
157
- // Font Color Tokens
158
- export const labelFontColor = create('label-font-color').withDefault((element) => hexToRgba(getDefaultFontColorForTheme(element), 0.6));
159
- export const groupLabelFontColor = create('group-label-font-color').withDefault((element) => getDefaultFontColorForTheme(element));
160
- export const contentFontColor = create('content-font-color').withDefault((element) => getColorForTheme(element, Black91, Black15, White, Black88));
161
- export const buttonContentFontColor = create('button-content-font-color').withDefault((element) => getColorForTheme(element, Black91, Black15, White, SlLegacyBlue));
162
- export const labelFontColorDisabled = create('label-font-color-disabled').withDefault((element) => hexToRgba(getDefaultLineColorForTheme(element), 0.3));
163
- export const labelTextTransform = create('label-text-transform').withDefault((element) => getLabelTextTransform(element));
164
- export const groupLabelTextTransform = create('group-label-text-transform').withDefault((element) => getGroupLabelTextTransform(element));
165
- export const contentFontColorDisabled = create('content-font-color-disabled').withDefault((element) => hexToRgba(getColorForTheme(element, Black91, Black15, White, Black88), 0.3));
166
- // Animation Tokens
167
- export const smallDelay = create('small-delay').withDefault(SmallDelay);
168
- export const mediumDelay = create('medium-delay').withDefault(MediumDelay);
169
- export const drawerAnimationDurationMs = create('drawer-animation-duration-ms').withDefault(250);
170
- // Filter Tokens
171
- export const passwordRevealFilter = create('password-reveal-filter').withDefault((element) => getPasswordRevealFilter(element));
172
160
  //# sourceMappingURL=design-tokens.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"design-tokens.js","sourceRoot":"","sources":["../../../src/theme-provider/design-tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,MAAM,MAAM,SAAS,CAAC;AAC7B,OAAO,EACH,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,EACP,KAAK,EACL,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,UAAU,EACV,WAAW,EACX,aAAa,EACb,UAAU,EACV,QAAQ,EACR,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,UAAU,EACV,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACtB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,SAAS,SAAS,CAAC,QAAgB;IAC/B,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;IAC9C,OAAO,GAAG,GAAG,KAAK,KAAK,KAAK,IAAI,EAAE,CAAC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AAS,cAAc,CAAC,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;AACnF,MAAM,CAAC,MAAM,yBAAyB,GAAG,MAAM,CAC3C,8BAA8B,CACjC,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;AAEnB,gBAAgB;AAChB,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CACtC,wBAAwB,CAC3B,CAAC,WAAW,CAAC,CAAC,OAAoB,EAAE,EAAE,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"design-tokens.js","sourceRoot":"","sources":["../../../src/theme-provider/design-tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,MAAM,MAAM,SAAS,CAAC;AAC7B,OAAO,EACH,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,EACP,KAAK,EACL,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,UAAU,EACV,WAAW,EACX,aAAa,EACb,UAAU,EACV,QAAQ,EACR,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,UAAU,EACV,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACtB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC1E,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC;AAE1B,eAAe;AACf,MAAM,CAAC,MAAM,qBAAqB,GAAG,WAAW,CAAC,MAAM,CACnD,sBAAsB,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAC3D,CAAC,WAAW,CAAC,CAAC,OAAoB,EAAE,EAAE,CAAC,eAAe,CACnD,gBAAgB,CAAC,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ACvD,QAAQ,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE;QAChC,KAAK,WAAW,CAAC,UAAU;YACvB,OAAO,MAAM,CAAC;QAClB;YACI,OAAO,MAAM,CAAC;KACrB;AACL,CAAC;AAED,SAAS,wBAAwB,CAAC,OAAoB;IAClD,QAAQ,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE;QAChC,KAAK,WAAW,CAAC,UAAU;YACvB,OAAO,MAAM,CAAC;QAClB;YACI,OAAO,iBAAiB,CAAC;KAChC;AACL,CAAC;AAED,SAAS,+BAA+B,CAAC,OAAoB;IACzD,QAAQ,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE;QAChC,KAAK,WAAW,CAAC,KAAK,CAAC;QACvB,KAAK,WAAW,CAAC,IAAI;YACjB,OAAO,cAAc,CAAC;QAC1B;YACI,OAAO,YAAY,CAAC;KAC3B;AACL,CAAC"}
@@ -1,17 +1,23 @@
1
- import { FoundationElement } from '@microsoft/fast-foundation';
2
- import type { NimbleTheme } from './types';
1
+ import { DesignToken, FoundationElement } from '@microsoft/fast-foundation';
2
+ import { Direction } from '@microsoft/fast-web-utilities';
3
+ import { NimbleTheme } from './types';
3
4
  export type { NimbleThemeProvider };
4
5
  declare global {
5
6
  interface HTMLElementTagNameMap {
6
7
  'nimble-theme-provider': NimbleThemeProvider;
7
8
  }
8
9
  }
10
+ export declare const direction: DesignToken<Direction>;
11
+ export declare const theme: DesignToken<NimbleTheme>;
9
12
  /**
10
13
  * The NimbleThemeProvider implementation. Add this component to the page and set its `theme` attribute to control
11
14
  * the values of design tokens that provide colors and fonts as CSS custom properties to any descendant components.
12
15
  * @internal
13
16
  */
14
17
  declare class NimbleThemeProvider extends FoundationElement {
18
+ direction: Direction;
15
19
  theme: NimbleTheme;
20
+ directionChanged(_prev: Direction | undefined, next: Direction | undefined): void;
16
21
  themeChanged(_prev: NimbleTheme | undefined, next: NimbleTheme | undefined): void;
22
+ connectedCallback(): void;
17
23
  }
@@ -1,15 +1,34 @@
1
1
  import { __decorate } from "tslib";
2
- import { DesignSystem, FoundationElement } from '@microsoft/fast-foundation';
2
+ import { DesignSystem, DesignToken, FoundationElement } from '@microsoft/fast-foundation';
3
3
  import { attr } from '@microsoft/fast-element';
4
+ import { Direction } from '@microsoft/fast-web-utilities';
4
5
  import { template } from './template';
5
6
  import { styles } from './styles';
6
- import { theme } from './design-tokens';
7
+ import { NimbleTheme } from './types';
8
+ // Not represented as a CSS Custom Property, instead available
9
+ // as an attribute of theme provider.
10
+ export const direction = DesignToken.create({
11
+ name: 'direction',
12
+ cssCustomPropertyName: null
13
+ }).withDefault(Direction.ltr);
14
+ export const theme = DesignToken.create({
15
+ name: 'theme',
16
+ cssCustomPropertyName: null
17
+ }).withDefault(NimbleTheme.Light);
7
18
  /**
8
19
  * The NimbleThemeProvider implementation. Add this component to the page and set its `theme` attribute to control
9
20
  * the values of design tokens that provide colors and fonts as CSS custom properties to any descendant components.
10
21
  * @internal
11
22
  */
12
23
  class NimbleThemeProvider extends FoundationElement {
24
+ directionChanged(_prev, next) {
25
+ if (next !== undefined && next !== null) {
26
+ direction.setValueFor(this, next);
27
+ }
28
+ else {
29
+ direction.deleteValueFor(this);
30
+ }
31
+ }
13
32
  themeChanged(_prev, next) {
14
33
  if (next !== undefined && next !== null) {
15
34
  theme.setValueFor(this, next);
@@ -18,7 +37,21 @@ class NimbleThemeProvider extends FoundationElement {
18
37
  theme.deleteValueFor(this);
19
38
  }
20
39
  }
40
+ connectedCallback() {
41
+ super.connectedCallback();
42
+ if (!this.direction) {
43
+ this.direction = Direction.ltr;
44
+ }
45
+ if (!this.theme) {
46
+ this.theme = NimbleTheme.Light;
47
+ }
48
+ }
21
49
  }
50
+ __decorate([
51
+ attr({
52
+ attribute: 'direction'
53
+ })
54
+ ], NimbleThemeProvider.prototype, "direction", void 0);
22
55
  __decorate([
23
56
  attr({
24
57
  attribute: 'theme'
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/theme-provider/index.ts"],"names":[],"mappings":";AAAA,OAAO,EACH,YAAY,EAEZ,iBAAiB,EACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAWxC;;;;GAIG;AACH,MAAM,mBAAoB,SAAQ,iBAAiB;IAMxC,YAAY,CACf,KAA8B,EAC9B,IAA6B;QAE7B,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,IAAI,EAAE;YACrC,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,IAAqC,CAAC,CAAC;SAClE;aAAM;YACH,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;SAC9B;IACL,CAAC;CACJ;AAZG;IAHC,IAAI,CAAC;QACF,SAAS,EAAE,OAAO;KACrB,CAAC;kDACyB;AAc/B,MAAM,0BAA0B,GAAG,mBAAmB,CAAC,OAAO,CAAC;IAC3D,QAAQ,EAAE,gBAAgB;IAC1B,MAAM;IACN,QAAQ;CACX,CAAC,CAAC;AAEH,YAAY,CAAC,WAAW,EAAE;KACrB,UAAU,CAAC,QAAQ,CAAC;KACpB,QAAQ,CAAC,0BAA0B,EAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/theme-provider/index.ts"],"names":[],"mappings":";AAAA,OAAO,EACH,YAAY,EACZ,WAAW,EACX,iBAAiB,EACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAA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,CAAC;CACJ;AAxCG;IAHC,IAAI,CAAC;QACF,SAAS,EAAE,WAAW;KACzB,CAAC;sDAC2B;AAK7B;IAHC,IAAI,CAAC;QACF,SAAS,EAAE,OAAO;KACrB,CAAC;kDACyB;AAqC/B,MAAM,0BAA0B,GAAG,mBAAmB,CAAC,OAAO,CAAC;IAC3D,QAAQ,EAAE,gBAAgB;IAC1B,MAAM;IACN,QAAQ;CACX,CAAC,CAAC;AAEH,YAAY,CAAC,WAAW,EAAE;KACrB,UAAU,CAAC,QAAQ,CAAC;KACpB,QAAQ,CAAC,0BAA0B,EAAE,CAAC,CAAC"}
@@ -1,9 +1,9 @@
1
- import { DirectionalStyleSheetBehavior } from '@microsoft/fast-components';
2
1
  import { css } from '@microsoft/fast-element';
3
2
  import { display, TreeItem } from '@microsoft/fast-foundation';
4
3
  import { focusVisible } from '../utilities/style/focus';
5
4
  import { contentFontColor, fontFamily, borderColorHover, fillColorSelected, contentFontSize, fillColorHover, fillColorSelectedHover, borderWidth, iconSize } from '../theme-provider/design-tokens';
6
5
  import { groupSelectedAttribute } from '../tree-view/types';
6
+ import { DirectionalStyleSheetBehavior } from '../utilities/style/direction';
7
7
  export const styles = (context) => css `
8
8
  ${display('block')}
9
9
 
@@ -14,7 +14,7 @@ export const styles = (context) => css `
14
14
  color: ${contentFontColor};
15
15
  cursor: pointer;
16
16
  font-family: ${fontFamily};
17
- --tree-item-nested-width: 0;
17
+ --ni-private-tree-item-nested-width: 0;
18
18
  }
19
19
 
20
20
  ${ /* this controls the side border */''}
@@ -57,7 +57,7 @@ export const styles = (context) => css `
57
57
  .positioning-region::before {
58
58
  content: '';
59
59
  display: block;
60
- width: var(--tree-item-nested-width);
60
+ width: var(--ni-private-tree-item-nested-width);
61
61
  flex-shrink: 0;
62
62
  }
63
63
 
@@ -131,8 +131,10 @@ export const styles = (context) => css `
131
131
  }
132
132
 
133
133
  ::slotted(${context.tagFor(TreeItem)}) {
134
- --tree-item-nested-width: 1em;
135
- --expand-collapse-button-nested-width: calc(${iconSize} * -1);
134
+ --ni-private-tree-item-nested-width: 1em;
135
+ --ni-private-expand-collapse-button-nested-width: calc(
136
+ ${iconSize} * -1
137
+ );
136
138
  }
137
139
 
138
140
  ${
@@ -163,7 +165,7 @@ export const styles = (context) => css `
163
165
  ${ /* ltr styles */''}
164
166
  :host(.nested) .expand-collapse-button {
165
167
  left: var(
166
- --expand-collapse-button-nested-width,
168
+ --ni-private-expand-collapse-button-nested-width,
167
169
  calc(${iconSize} * -1)
168
170
  );
169
171
  }
@@ -179,7 +181,7 @@ export const styles = (context) => css `
179
181
  ${ /* rtl styles */''}
180
182
  :host(.nested) .expand-collapse-button {
181
183
  right: var(
182
- --expand-collapse-button-nested-width,
184
+ --ni-private-expand-collapse-button-nested-width,
183
185
  calc(${iconSize} * -1)
184
186
  );
185
187
  }
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/tree-item/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EAAE,GAAG,EAAiB,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EACH,OAAO,EAEP,QAAQ,EAEX,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EACH,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,sBAAsB,EACtB,WAAW,EACX,QAAQ,EACX,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,MAAM,CAAC,MAAM,MAAM,GAGE,CAAC,OAAiC,EAAE,EAAE,CAAC,GAAG,CAAA;UACrD,OAAO,CAAC,OAAO,CAAC;;;;;;qBAML,gBAAgB;;2BAEV,UAAU;;;;UAI3B,CAAA,mCAAoC,EAAE;iBAC/B,sBAAsB;0BACb,gBA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AAiB,EAAE;;;;mCAIN,QAAQ;;;;;;;;;;;iBAW1B,CACR,CACJ,CAAC"}
@@ -0,0 +1,34 @@
1
+ import type { Behavior, ElementStyles, FASTElement } from '@microsoft/fast-element';
2
+ /**
3
+ * Behavior to conditionally apply LTR and RTL stylesheets. To determine which to apply,
4
+ * the behavior will use the nearest DesignSystemProvider's 'direction' design system value.
5
+ *
6
+ * @public
7
+ * @example
8
+ * ```ts
9
+ * import { css } from "@microsoft/fast-element";
10
+ * import { DirectionalStyleSheetBehavior } from "@microsoft/fast-foundation";
11
+ *
12
+ * css`
13
+ * // ...
14
+ * `.withBehaviors(new DirectionalStyleSheetBehavior(
15
+ * css`:host { content: "ltr"}`),
16
+ * css`:host { content: "rtl"}`),
17
+ * )
18
+ * ```
19
+ */
20
+ export declare class DirectionalStyleSheetBehavior implements Behavior {
21
+ private ltr;
22
+ private rtl;
23
+ private cache;
24
+ constructor(ltr: ElementStyles | null, rtl: ElementStyles | null);
25
+ /**
26
+ * @internal
27
+ */
28
+ bind(source: FASTElement & HTMLElement): void;
29
+ /**
30
+ * @internal
31
+ */
32
+ unbind(source: FASTElement & HTMLElement): void;
33
+ private attach;
34
+ }
@@ -0,0 +1,78 @@
1
+ /* eslint-disable */
2
+ // Sourced from: https://github.com/microsoft/fast/blob/a150068ee196e73fe7a4f7b538a38752e0e506ba/packages/web-components/fast-components/src/styles/direction.ts
3
+ // Changes: Updated imports to reference nimble design tokens
4
+ import { direction as directionDesignToken } from '../../theme-provider';
5
+ /**
6
+ * Behavior to conditionally apply LTR and RTL stylesheets. To determine which to apply,
7
+ * the behavior will use the nearest DesignSystemProvider's 'direction' design system value.
8
+ *
9
+ * @public
10
+ * @example
11
+ * ```ts
12
+ * import { css } from "@microsoft/fast-element";
13
+ * import { DirectionalStyleSheetBehavior } from "@microsoft/fast-foundation";
14
+ *
15
+ * css`
16
+ * // ...
17
+ * `.withBehaviors(new DirectionalStyleSheetBehavior(
18
+ * css`:host { content: "ltr"}`),
19
+ * css`:host { content: "rtl"}`),
20
+ * )
21
+ * ```
22
+ */
23
+ export class DirectionalStyleSheetBehavior {
24
+ constructor(ltr, rtl) {
25
+ this.cache = new WeakMap();
26
+ this.ltr = ltr;
27
+ this.rtl = rtl;
28
+ }
29
+ /**
30
+ * @internal
31
+ */
32
+ bind(source) {
33
+ this.attach(source);
34
+ }
35
+ /**
36
+ * @internal
37
+ */
38
+ unbind(source) {
39
+ const cache = this.cache.get(source);
40
+ if (cache) {
41
+ directionDesignToken.unsubscribe(cache);
42
+ }
43
+ }
44
+ attach(source) {
45
+ const subscriber = this.cache.get(source) ||
46
+ new DirectionalStyleSheetBehaviorSubscription(this.ltr, this.rtl, source);
47
+ const value = directionDesignToken.getValueFor(source);
48
+ directionDesignToken.subscribe(subscriber);
49
+ subscriber.attach(value);
50
+ this.cache.set(source, subscriber);
51
+ }
52
+ }
53
+ /**
54
+ * Subscription for {@link DirectionalStyleSheetBehavior}
55
+ */
56
+ class DirectionalStyleSheetBehaviorSubscription {
57
+ constructor(ltr, rtl, source) {
58
+ this.ltr = ltr;
59
+ this.rtl = rtl;
60
+ this.source = source;
61
+ this.attached = null;
62
+ }
63
+ handleChange({ target, token, }) {
64
+ this.attach(token.getValueFor(target));
65
+ }
66
+ attach(direction) {
67
+ if (this.attached !== this[direction]) {
68
+ if (this.attached !== null) {
69
+ this.source.$fastController.removeStyles(this.attached);
70
+ }
71
+ this.attached = this[direction];
72
+ if (this.attached !== null) {
73
+ this.source.$fastController.addStyles(this.attached);
74
+ }
75
+ }
76
+ }
77
+ }
78
+ //# sourceMappingURL=direction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"direction.js","sourceRoot":"","sources":["../../../../src/utilities/style/direction.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,gKAAgK;AAChK,6DAA6D;AAU7D,OAAO,EAAE,SAAS,IAAI,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACzE;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM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