@ni/nimble-components 1.0.0-beta.101 → 1.0.0-beta.105

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 (128) hide show
  1. package/README.md +20 -20
  2. package/dist/esm/button/behaviors.d.ts +12 -12
  3. package/dist/esm/button/behaviors.js +13 -13
  4. package/dist/esm/button/index.d.ts +17 -17
  5. package/dist/esm/button/index.js +37 -37
  6. package/dist/esm/button/styles.d.ts +1 -1
  7. package/dist/esm/button/styles.js +178 -178
  8. package/dist/esm/button/types.d.ts +9 -9
  9. package/dist/esm/button/types.js +10 -10
  10. package/dist/esm/checkbox/index.d.ts +2 -2
  11. package/dist/esm/checkbox/index.js +11 -11
  12. package/dist/esm/checkbox/styles.d.ts +1 -1
  13. package/dist/esm/checkbox/styles.js +91 -91
  14. package/dist/esm/drawer/animations.d.ts +14 -14
  15. package/dist/esm/drawer/animations.js +51 -51
  16. package/dist/esm/drawer/index.d.ts +39 -39
  17. package/dist/esm/drawer/index.js +189 -189
  18. package/dist/esm/drawer/styles.d.ts +1 -1
  19. package/dist/esm/drawer/styles.js +115 -114
  20. package/dist/esm/drawer/styles.js.map +1 -1
  21. package/dist/esm/drawer/types.d.ts +10 -10
  22. package/dist/esm/drawer/types.js +12 -12
  23. package/dist/esm/icon-base/index.d.ts +12 -12
  24. package/dist/esm/icon-base/index.js +21 -21
  25. package/dist/esm/icon-base/styles.d.ts +1 -1
  26. package/dist/esm/icon-base/styles.js +37 -37
  27. package/dist/esm/icon-base/template.d.ts +2 -2
  28. package/dist/esm/icon-base/template.js +6 -6
  29. package/dist/esm/icons/access-control.d.ts +7 -7
  30. package/dist/esm/icons/access-control.js +11 -11
  31. package/dist/esm/icons/admin.d.ts +7 -7
  32. package/dist/esm/icons/admin.js +11 -11
  33. package/dist/esm/icons/administration.d.ts +7 -7
  34. package/dist/esm/icons/administration.js +11 -11
  35. package/dist/esm/icons/all-icons.d.ts +15 -13
  36. package/dist/esm/icons/all-icons.js +15 -13
  37. package/dist/esm/icons/all-icons.js.map +1 -1
  38. package/dist/esm/icons/check.d.ts +7 -7
  39. package/dist/esm/icons/check.js +11 -11
  40. package/dist/esm/icons/custom-applications.d.ts +7 -7
  41. package/dist/esm/icons/custom-applications.js +11 -11
  42. package/dist/esm/icons/delete.d.ts +7 -7
  43. package/dist/esm/icons/delete.js +11 -11
  44. package/dist/esm/icons/fail.d.ts +7 -0
  45. package/dist/esm/icons/fail.js +12 -0
  46. package/dist/esm/icons/fail.js.map +1 -0
  47. package/dist/esm/icons/login.d.ts +7 -7
  48. package/dist/esm/icons/login.js +11 -11
  49. package/dist/esm/icons/logout.d.ts +7 -7
  50. package/dist/esm/icons/logout.js +11 -11
  51. package/dist/esm/icons/managed-systems.d.ts +7 -7
  52. package/dist/esm/icons/managed-systems.js +11 -11
  53. package/dist/esm/icons/measurement-data-analysis.d.ts +7 -7
  54. package/dist/esm/icons/measurement-data-analysis.js +11 -11
  55. package/dist/esm/icons/settings.d.ts +7 -7
  56. package/dist/esm/icons/settings.js +11 -11
  57. package/dist/esm/icons/succeeded.d.ts +7 -0
  58. package/dist/esm/icons/succeeded.js +12 -0
  59. package/dist/esm/icons/succeeded.js.map +1 -0
  60. package/dist/esm/icons/test-insights.d.ts +7 -7
  61. package/dist/esm/icons/test-insights.js +11 -11
  62. package/dist/esm/icons/utilities.d.ts +7 -7
  63. package/dist/esm/icons/utilities.js +11 -11
  64. package/dist/esm/listbox-option/index.d.ts +10 -10
  65. package/dist/esm/listbox-option/index.js +28 -28
  66. package/dist/esm/listbox-option/styles.d.ts +1 -1
  67. package/dist/esm/listbox-option/styles.js +59 -59
  68. package/dist/esm/menu/index.d.ts +5 -5
  69. package/dist/esm/menu/index.js +21 -21
  70. package/dist/esm/menu/styles.d.ts +1 -1
  71. package/dist/esm/menu/styles.js +39 -39
  72. package/dist/esm/menu-item/index.d.ts +15 -15
  73. package/dist/esm/menu-item/index.js +21 -21
  74. package/dist/esm/menu-item/styles.d.ts +1 -1
  75. package/dist/esm/menu-item/styles.js +63 -63
  76. package/dist/esm/number-field/index.d.ts +6 -6
  77. package/dist/esm/number-field/index.js +22 -22
  78. package/dist/esm/number-field/styles.d.ts +1 -1
  79. package/dist/esm/number-field/styles.js +117 -117
  80. package/dist/esm/select/index.d.ts +12 -12
  81. package/dist/esm/select/index.js +45 -45
  82. package/dist/esm/select/styles.d.ts +1 -1
  83. package/dist/esm/select/styles.js +140 -140
  84. package/dist/esm/tab/index.d.ts +2 -2
  85. package/dist/esm/tab/index.js +8 -8
  86. package/dist/esm/tab/styles.d.ts +1 -1
  87. package/dist/esm/tab/styles.js +52 -52
  88. package/dist/esm/tab-panel/index.d.ts +2 -2
  89. package/dist/esm/tab-panel/index.js +8 -8
  90. package/dist/esm/tab-panel/styles.d.ts +1 -1
  91. package/dist/esm/tab-panel/styles.js +14 -14
  92. package/dist/esm/tabs/index.d.ts +2 -2
  93. package/dist/esm/tabs/index.js +8 -8
  94. package/dist/esm/tabs/styles.d.ts +1 -1
  95. package/dist/esm/tabs/styles.js +42 -42
  96. package/dist/esm/tabs-toolbar/index.d.ts +6 -6
  97. package/dist/esm/tabs-toolbar/index.js +14 -14
  98. package/dist/esm/tabs-toolbar/styles.d.ts +1 -1
  99. package/dist/esm/tabs-toolbar/styles.js +22 -22
  100. package/dist/esm/tabs-toolbar/template.d.ts +1 -1
  101. package/dist/esm/tabs-toolbar/template.js +7 -7
  102. package/dist/esm/testing/dom-next-update.d.ts +4 -4
  103. package/dist/esm/testing/dom-next-update.js +5 -5
  104. package/dist/esm/text-field/index.d.ts +6 -6
  105. package/dist/esm/text-field/index.js +13 -13
  106. package/dist/esm/text-field/styles.d.ts +1 -1
  107. package/dist/esm/text-field/styles.js +141 -141
  108. package/dist/esm/theme-provider/design-tokens.d.ts +48 -48
  109. package/dist/esm/theme-provider/design-tokens.js +163 -163
  110. package/dist/esm/theme-provider/index.d.ts +10 -10
  111. package/dist/esm/theme-provider/index.js +42 -42
  112. package/dist/esm/theme-provider/template.d.ts +2 -2
  113. package/dist/esm/theme-provider/template.js +2 -2
  114. package/dist/esm/theme-provider/themes.d.ts +6 -6
  115. package/dist/esm/theme-provider/themes.js +7 -7
  116. package/dist/esm/tree-item/index.d.ts +28 -28
  117. package/dist/esm/tree-item/index.js +115 -115
  118. package/dist/esm/tree-item/styles.d.ts +3 -3
  119. package/dist/esm/tree-item/styles.js +194 -194
  120. package/dist/esm/tree-view/index.d.ts +16 -16
  121. package/dist/esm/tree-view/index.js +33 -33
  122. package/dist/esm/tree-view/styles.d.ts +1 -1
  123. package/dist/esm/tree-view/styles.js +16 -16
  124. package/dist/esm/tree-view/types.d.ts +6 -6
  125. package/dist/esm/tree-view/types.js +7 -7
  126. package/dist/esm/utilities/style/focus.d.ts +11 -11
  127. package/dist/esm/utilities/style/focus.js +13 -13
  128. package/package.json +95 -94
@@ -1,141 +1,141 @@
1
- import { css } from '@microsoft/fast-element';
2
- import { display } from '@microsoft/fast-foundation';
3
- import { applicationBackgroundColor, borderColorHover, borderWidth, contentFontColor, contentFontColorDisabled, contentFontSize, controlHeight, fontFamily, iconSize, popupBorderColor, popupBoxShadowColor, smallDelay } from '../theme-provider/design-tokens';
4
- export const styles = css `
5
- ${display('inline-flex')}
6
-
7
- :host {
8
- box-sizing: border-box;
9
- color: ${contentFontColor};
10
- font-family: ${fontFamily};
11
- height: ${controlHeight};
12
- position: relative;
13
- user-select: none;
14
- min-width: 250px;
15
- outline: none;
16
- vertical-align: top;
17
- }
18
-
19
- .listbox {
20
- box-sizing: border-box;
21
- display: inline-flex;
22
- flex-direction: column;
23
- left: 0;
24
- overflow-y: auto;
25
- position: absolute;
26
- width: 100%;
27
- z-index: 1;
28
- padding: 4px;
29
- box-shadow: 0px 3px 3px ${popupBoxShadowColor};
30
- border: 1px solid ${popupBorderColor};
31
- background-color: ${applicationBackgroundColor};
32
- background-clip: padding-box;
33
- }
34
-
35
- .listbox[hidden] {
36
- display: none;
37
- }
38
-
39
- .control {
40
- align-items: center;
41
- box-sizing: border-box;
42
- cursor: pointer;
43
- display: flex;
44
- font-size: ${contentFontSize};
45
- font-family: inherit;
46
- min-height: 100%;
47
- width: 100%;
48
- border-bottom: ${borderWidth} solid ${contentFontColorDisabled};
49
- background-color: transparent;
50
- padding-left: 8px;
51
- padding-bottom: 1px;
52
- }
53
-
54
- :host([disabled]) .control {
55
- cursor: default;
56
- }
57
-
58
- :host(.open:not(:hover)) .control {
59
- border-bottom: ${borderWidth} solid ${borderColorHover};
60
- transition: border-bottom ${smallDelay}, padding-bottom ${smallDelay};
61
- }
62
-
63
- :host(:hover) .control {
64
- border-bottom: 2px solid ${borderColorHover};
65
- padding-bottom: 0px;
66
- transition: border-bottom ${smallDelay}, padding-bottom ${smallDelay};
67
- }
68
-
69
- :host([disabled]) .control,
70
- :host([disabled]) .control:hover {
71
- border-bottom: ${borderWidth} solid ${contentFontColorDisabled};
72
- padding-bottom: 1px;
73
- color: ${contentFontColorDisabled};
74
- }
75
-
76
- :host([open][position='above']) .listbox {
77
- border-bottom-left-radius: 0;
78
- border-bottom-right-radius: 0;
79
- }
80
-
81
- :host([open][position='below']) .listbox {
82
- border-top-left-radius: 0;
83
- border-top-right-radius: 0;
84
- }
85
-
86
- :host([open][position='above']) .listbox {
87
- bottom: ${controlHeight};
88
- }
89
-
90
- :host([open][position='below']) .listbox {
91
- top: calc(${controlHeight} + 3px);
92
- }
93
-
94
- .selected-value {
95
- flex: 1 1 auto;
96
- font-family: inherit;
97
- text-align: start;
98
- white-space: nowrap;
99
- text-overflow: ellipsis;
100
- overflow: hidden;
101
- }
102
-
103
- .indicator {
104
- flex: 0 0 auto;
105
- margin-inline-start: 1em;
106
- padding-right: 8px;
107
- display: flex;
108
- justify-content: center;
109
- align-items: center;
110
- }
111
-
112
- .indicator slot[name='indicator'] svg {
113
- width: ${iconSize};
114
- height: ${iconSize};
115
- fill: ${contentFontColor};
116
- }
117
-
118
- :host([disabled]) .indicator slot[name='indicator'] svg {
119
- fill: ${contentFontColorDisabled};
120
- }
121
-
122
- slot[name='listbox'] {
123
- display: none;
124
- width: 100%;
125
- }
126
-
127
- :host([open]) slot[name='listbox'] {
128
- display: flex;
129
- position: absolute;
130
- }
131
-
132
- .end {
133
- margin-inline-start: auto;
134
- }
135
-
136
- ::slotted([role='option']),
137
- ::slotted(option) {
138
- flex: 0 0 auto;
139
- }
140
- `;
1
+ import { css } from '@microsoft/fast-element';
2
+ import { display } from '@microsoft/fast-foundation';
3
+ import { applicationBackgroundColor, borderColorHover, borderWidth, contentFontColor, contentFontColorDisabled, contentFontSize, controlHeight, fontFamily, iconSize, popupBorderColor, popupBoxShadowColor, smallDelay } from '../theme-provider/design-tokens';
4
+ export const styles = css `
5
+ ${display('inline-flex')}
6
+
7
+ :host {
8
+ box-sizing: border-box;
9
+ color: ${contentFontColor};
10
+ font-family: ${fontFamily};
11
+ height: ${controlHeight};
12
+ position: relative;
13
+ user-select: none;
14
+ min-width: 250px;
15
+ outline: none;
16
+ vertical-align: top;
17
+ }
18
+
19
+ .listbox {
20
+ box-sizing: border-box;
21
+ display: inline-flex;
22
+ flex-direction: column;
23
+ left: 0;
24
+ overflow-y: auto;
25
+ position: absolute;
26
+ width: 100%;
27
+ z-index: 1;
28
+ padding: 4px;
29
+ box-shadow: 0px 3px 3px ${popupBoxShadowColor};
30
+ border: 1px solid ${popupBorderColor};
31
+ background-color: ${applicationBackgroundColor};
32
+ background-clip: padding-box;
33
+ }
34
+
35
+ .listbox[hidden] {
36
+ display: none;
37
+ }
38
+
39
+ .control {
40
+ align-items: center;
41
+ box-sizing: border-box;
42
+ cursor: pointer;
43
+ display: flex;
44
+ font-size: ${contentFontSize};
45
+ font-family: inherit;
46
+ min-height: 100%;
47
+ width: 100%;
48
+ border-bottom: ${borderWidth} solid ${contentFontColorDisabled};
49
+ background-color: transparent;
50
+ padding-left: 8px;
51
+ padding-bottom: 1px;
52
+ }
53
+
54
+ :host([disabled]) .control {
55
+ cursor: default;
56
+ }
57
+
58
+ :host(.open:not(:hover)) .control {
59
+ border-bottom: ${borderWidth} solid ${borderColorHover};
60
+ transition: border-bottom ${smallDelay}, padding-bottom ${smallDelay};
61
+ }
62
+
63
+ :host(:hover) .control {
64
+ border-bottom: 2px solid ${borderColorHover};
65
+ padding-bottom: 0px;
66
+ transition: border-bottom ${smallDelay}, padding-bottom ${smallDelay};
67
+ }
68
+
69
+ :host([disabled]) .control,
70
+ :host([disabled]) .control:hover {
71
+ border-bottom: ${borderWidth} solid ${contentFontColorDisabled};
72
+ padding-bottom: 1px;
73
+ color: ${contentFontColorDisabled};
74
+ }
75
+
76
+ :host([open][position='above']) .listbox {
77
+ border-bottom-left-radius: 0;
78
+ border-bottom-right-radius: 0;
79
+ }
80
+
81
+ :host([open][position='below']) .listbox {
82
+ border-top-left-radius: 0;
83
+ border-top-right-radius: 0;
84
+ }
85
+
86
+ :host([open][position='above']) .listbox {
87
+ bottom: ${controlHeight};
88
+ }
89
+
90
+ :host([open][position='below']) .listbox {
91
+ top: calc(${controlHeight} + 3px);
92
+ }
93
+
94
+ .selected-value {
95
+ flex: 1 1 auto;
96
+ font-family: inherit;
97
+ text-align: start;
98
+ white-space: nowrap;
99
+ text-overflow: ellipsis;
100
+ overflow: hidden;
101
+ }
102
+
103
+ .indicator {
104
+ flex: 0 0 auto;
105
+ margin-inline-start: 1em;
106
+ padding-right: 8px;
107
+ display: flex;
108
+ justify-content: center;
109
+ align-items: center;
110
+ }
111
+
112
+ .indicator slot[name='indicator'] svg {
113
+ width: ${iconSize};
114
+ height: ${iconSize};
115
+ fill: ${contentFontColor};
116
+ }
117
+
118
+ :host([disabled]) .indicator slot[name='indicator'] svg {
119
+ fill: ${contentFontColorDisabled};
120
+ }
121
+
122
+ slot[name='listbox'] {
123
+ display: none;
124
+ width: 100%;
125
+ }
126
+
127
+ :host([open]) slot[name='listbox'] {
128
+ display: flex;
129
+ position: absolute;
130
+ }
131
+
132
+ .end {
133
+ margin-inline-start: auto;
134
+ }
135
+
136
+ ::slotted([role='option']),
137
+ ::slotted(option) {
138
+ flex: 0 0 auto;
139
+ }
140
+ `;
141
141
  //# sourceMappingURL=styles.js.map
@@ -1,2 +1,2 @@
1
- import { Tab } from '@microsoft/fast-foundation';
2
- export type { Tab };
1
+ import { Tab } from '@microsoft/fast-foundation';
2
+ export type { Tab };
@@ -1,9 +1,9 @@
1
- import { DesignSystem, Tab, tabTemplate as template } from '@microsoft/fast-foundation';
2
- import { styles } from './styles';
3
- const nimbleTab = Tab.compose({
4
- baseName: 'tab',
5
- template,
6
- styles
7
- });
8
- DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
1
+ import { DesignSystem, Tab, tabTemplate as template } from '@microsoft/fast-foundation';
2
+ import { styles } from './styles';
3
+ const nimbleTab = Tab.compose({
4
+ baseName: 'tab',
5
+ template,
6
+ styles
7
+ });
8
+ DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTab());
9
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- export declare const styles: import("@microsoft/fast-element").ElementStyles;
1
+ export declare const styles: import("@microsoft/fast-element").ElementStyles;
@@ -1,53 +1,53 @@
1
- import { css } from '@microsoft/fast-element';
2
- import { display } from '@microsoft/fast-foundation';
3
- import { borderColorHover, borderWidth, contentFontColor, contentFontColorDisabled, contentFontSize, controlHeight, fillColorHover, fontFamily, mediumDelay, standardPadding } from '../theme-provider/design-tokens';
4
- import { focusVisible } from '../utilities/style/focus';
5
- export const styles = css `
6
- ${display('inline-flex')}
7
-
8
- :host {
9
- box-sizing: border-box;
10
- font-family: ${fontFamily};
11
- font-size: ${contentFontSize};
12
- height: ${controlHeight};
13
- padding: calc(${standardPadding} / 2) ${standardPadding}
14
- calc(${standardPadding} / 2 - ${borderWidth});
15
- color: ${contentFontColor};
16
- align-items: center;
17
- justify-content: center;
18
- cursor: pointer;
19
- ${ /* Separate focus indicator from active indicator */''}
20
- border-bottom: transparent ${borderWidth} solid;
21
- }
22
-
23
- :host(:hover) {
24
- background-color: ${fillColorHover};
25
- }
26
-
27
- :host(:focus) {
28
- outline: none;
29
- }
30
-
31
- :host(${focusVisible}) {
32
- outline: none;
33
- box-shadow: 0 calc(${borderWidth} * -1) ${borderColorHover} inset;
34
- transition: box-shadow ${mediumDelay} ease-in-out;
35
- }
36
-
37
- @media (prefers-reduced-motion) {
38
- :host(${focusVisible}) {
39
- transition-duration: 0.01s;
40
- }
41
- }
42
-
43
- :host(:active) {
44
- background: none;
45
- }
46
-
47
- :host([disabled]) {
48
- cursor: default;
49
- color: ${contentFontColorDisabled};
50
- background: none;
51
- }
52
- `;
1
+ import { css } from '@microsoft/fast-element';
2
+ import { display } from '@microsoft/fast-foundation';
3
+ import { borderColorHover, borderWidth, contentFontColor, contentFontColorDisabled, contentFontSize, controlHeight, fillColorHover, fontFamily, mediumDelay, standardPadding } from '../theme-provider/design-tokens';
4
+ import { focusVisible } from '../utilities/style/focus';
5
+ export const styles = css `
6
+ ${display('inline-flex')}
7
+
8
+ :host {
9
+ box-sizing: border-box;
10
+ font-family: ${fontFamily};
11
+ font-size: ${contentFontSize};
12
+ height: ${controlHeight};
13
+ padding: calc(${standardPadding} / 2) ${standardPadding}
14
+ calc(${standardPadding} / 2 - ${borderWidth});
15
+ color: ${contentFontColor};
16
+ align-items: center;
17
+ justify-content: center;
18
+ cursor: pointer;
19
+ ${ /* Separate focus indicator from active indicator */''}
20
+ border-bottom: transparent ${borderWidth} solid;
21
+ }
22
+
23
+ :host(:hover) {
24
+ background-color: ${fillColorHover};
25
+ }
26
+
27
+ :host(:focus) {
28
+ outline: none;
29
+ }
30
+
31
+ :host(${focusVisible}) {
32
+ outline: none;
33
+ box-shadow: 0 calc(${borderWidth} * -1) ${borderColorHover} inset;
34
+ transition: box-shadow ${mediumDelay} ease-in-out;
35
+ }
36
+
37
+ @media (prefers-reduced-motion) {
38
+ :host(${focusVisible}) {
39
+ transition-duration: 0.01s;
40
+ }
41
+ }
42
+
43
+ :host(:active) {
44
+ background: none;
45
+ }
46
+
47
+ :host([disabled]) {
48
+ cursor: default;
49
+ color: ${contentFontColorDisabled};
50
+ background: none;
51
+ }
52
+ `;
53
53
  //# sourceMappingURL=styles.js.map
@@ -1,2 +1,2 @@
1
- import { TabPanel } from '@microsoft/fast-foundation';
2
- export type { TabPanel };
1
+ import { TabPanel } from '@microsoft/fast-foundation';
2
+ export type { TabPanel };
@@ -1,9 +1,9 @@
1
- import { DesignSystem, TabPanel, tabPanelTemplate as template } from '@microsoft/fast-foundation';
2
- import { styles } from './styles';
3
- const nimbleTabPanel = TabPanel.compose({
4
- baseName: 'tab-panel',
5
- template,
6
- styles
7
- });
8
- DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabPanel());
1
+ import { DesignSystem, TabPanel, tabPanelTemplate as template } from '@microsoft/fast-foundation';
2
+ import { styles } from './styles';
3
+ const nimbleTabPanel = TabPanel.compose({
4
+ baseName: 'tab-panel',
5
+ template,
6
+ styles
7
+ });
8
+ DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabPanel());
9
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- export declare const styles: import("@microsoft/fast-element").ElementStyles;
1
+ export declare const styles: import("@microsoft/fast-element").ElementStyles;
@@ -1,15 +1,15 @@
1
- import { css } from '@microsoft/fast-element';
2
- import { display } from '@microsoft/fast-foundation';
3
- import { contentFontColor, contentFontSize, fontFamily, standardPadding } from '../theme-provider/design-tokens';
4
- export const styles = css `
5
- ${display('block')}
6
-
7
- :host {
8
- box-sizing: border-box;
9
- font-family: ${fontFamily};
10
- font-size: ${contentFontSize};
11
- color: ${contentFontColor};
12
- padding-top: ${standardPadding};
13
- }
14
- `;
1
+ import { css } from '@microsoft/fast-element';
2
+ import { display } from '@microsoft/fast-foundation';
3
+ import { contentFontColor, contentFontSize, fontFamily, standardPadding } from '../theme-provider/design-tokens';
4
+ export const styles = css `
5
+ ${display('block')}
6
+
7
+ :host {
8
+ box-sizing: border-box;
9
+ font-family: ${fontFamily};
10
+ font-size: ${contentFontSize};
11
+ color: ${contentFontColor};
12
+ padding-top: ${standardPadding};
13
+ }
14
+ `;
15
15
  //# sourceMappingURL=styles.js.map
@@ -1,2 +1,2 @@
1
- import { Tabs } from '@microsoft/fast-foundation';
2
- export type { Tabs };
1
+ import { Tabs } from '@microsoft/fast-foundation';
2
+ export type { Tabs };
@@ -1,9 +1,9 @@
1
- import { DesignSystem, Tabs, tabsTemplate as template } from '@microsoft/fast-foundation';
2
- import { styles } from './styles';
3
- const nimbleTabs = Tabs.compose({
4
- baseName: 'tabs',
5
- template,
6
- styles
7
- });
8
- DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
1
+ import { DesignSystem, Tabs, tabsTemplate as template } from '@microsoft/fast-foundation';
2
+ import { styles } from './styles';
3
+ const nimbleTabs = Tabs.compose({
4
+ baseName: 'tabs',
5
+ template,
6
+ styles
7
+ });
8
+ DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabs());
9
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- export declare const styles: import("@microsoft/fast-element").ElementStyles;
1
+ export declare const styles: import("@microsoft/fast-element").ElementStyles;
@@ -1,43 +1,43 @@
1
- import { css } from '@microsoft/fast-element';
2
- import { display } from '@microsoft/fast-foundation';
3
- import { borderColorHover, borderWidth, smallDelay } from '../theme-provider/design-tokens';
4
- export const styles = css `
5
- ${display('grid')}
6
-
7
- :host {
8
- box-sizing: border-box;
9
- grid-template-columns: auto auto 1fr;
10
- grid-template-rows: auto 1fr;
11
- }
12
-
13
- .tablist {
14
- display: grid;
15
- grid-template-rows: auto auto;
16
- grid-template-columns: auto;
17
- width: max-content;
18
- align-self: end;
19
- }
20
-
21
- .activeIndicator {
22
- grid-row: 2;
23
- height: calc(${borderWidth} * 2);
24
- background-color: ${borderColorHover};
25
- }
26
-
27
- .activeIndicatorTransition {
28
- transition: transform ${smallDelay} ease-in-out;
29
- }
30
-
31
- @media (prefers-reduced-motion) {
32
- .activeIndicatorTransition {
33
- transition: transform 0.01s;
34
- }
35
- }
36
-
37
- .tabpanel {
38
- grid-row: 2;
39
- grid-column-start: 1;
40
- grid-column-end: 4;
41
- }
42
- `;
1
+ import { css } from '@microsoft/fast-element';
2
+ import { display } from '@microsoft/fast-foundation';
3
+ import { borderColorHover, borderWidth, smallDelay } from '../theme-provider/design-tokens';
4
+ export const styles = css `
5
+ ${display('grid')}
6
+
7
+ :host {
8
+ box-sizing: border-box;
9
+ grid-template-columns: auto auto 1fr;
10
+ grid-template-rows: auto 1fr;
11
+ }
12
+
13
+ .tablist {
14
+ display: grid;
15
+ grid-template-rows: auto auto;
16
+ grid-template-columns: auto;
17
+ width: max-content;
18
+ align-self: end;
19
+ }
20
+
21
+ .activeIndicator {
22
+ grid-row: 2;
23
+ height: calc(${borderWidth} * 2);
24
+ background-color: ${borderColorHover};
25
+ }
26
+
27
+ .activeIndicatorTransition {
28
+ transition: transform ${smallDelay} ease-in-out;
29
+ }
30
+
31
+ @media (prefers-reduced-motion) {
32
+ .activeIndicatorTransition {
33
+ transition: transform 0.01s;
34
+ }
35
+ }
36
+
37
+ .tabpanel {
38
+ grid-row: 2;
39
+ grid-column-start: 1;
40
+ grid-column-end: 4;
41
+ }
42
+ `;
43
43
  //# sourceMappingURL=styles.js.map
@@ -1,6 +1,6 @@
1
- import { FoundationElement } from '@microsoft/fast-foundation';
2
- /**
3
- * A nimble-styled container for toolbar content next to tabs.
4
- */
5
- export declare class TabsToolbar extends FoundationElement {
6
- }
1
+ import { FoundationElement } from '@microsoft/fast-foundation';
2
+ /**
3
+ * A nimble-styled container for toolbar content next to tabs.
4
+ */
5
+ export declare class TabsToolbar extends FoundationElement {
6
+ }
@@ -1,15 +1,15 @@
1
- import { DesignSystem, FoundationElement } from '@microsoft/fast-foundation';
2
- import { styles } from './styles';
3
- import { template } from './template';
4
- /**
5
- * A nimble-styled container for toolbar content next to tabs.
6
- */
7
- export class TabsToolbar extends FoundationElement {
8
- }
9
- const nimbleTabsToolbar = TabsToolbar.compose({
10
- baseName: 'tabs-toolbar',
11
- template,
12
- styles
13
- });
14
- DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabsToolbar());
1
+ import { DesignSystem, FoundationElement } from '@microsoft/fast-foundation';
2
+ import { styles } from './styles';
3
+ import { template } from './template';
4
+ /**
5
+ * A nimble-styled container for toolbar content next to tabs.
6
+ */
7
+ export class TabsToolbar extends FoundationElement {
8
+ }
9
+ const nimbleTabsToolbar = TabsToolbar.compose({
10
+ baseName: 'tabs-toolbar',
11
+ template,
12
+ styles
13
+ });
14
+ DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabsToolbar());
15
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- export declare const styles: import("@microsoft/fast-element").ElementStyles;
1
+ export declare const styles: import("@microsoft/fast-element").ElementStyles;