@genesislcap/foundation-zero 14.125.0 → 14.125.1

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.
@@ -808,37 +808,6 @@
808
808
  }
809
809
  ]
810
810
  },
811
- {
812
- "kind": "javascript-module",
813
- "path": "src/_config/index.ts",
814
- "declarations": [],
815
- "exports": [
816
- {
817
- "kind": "js",
818
- "name": "*",
819
- "declaration": {
820
- "name": "*",
821
- "package": "./styles"
822
- }
823
- },
824
- {
825
- "kind": "js",
826
- "name": "*",
827
- "declaration": {
828
- "name": "*",
829
- "package": "./tokens"
830
- }
831
- },
832
- {
833
- "kind": "js",
834
- "name": "*",
835
- "declaration": {
836
- "name": "*",
837
- "package": "./values"
838
- }
839
- }
840
- ]
841
- },
842
811
  {
843
812
  "kind": "javascript-module",
844
813
  "path": "src/accordion/accordion.stories.ts",
@@ -1027,6 +996,37 @@
1027
996
  }
1028
997
  ]
1029
998
  },
999
+ {
1000
+ "kind": "javascript-module",
1001
+ "path": "src/_config/index.ts",
1002
+ "declarations": [],
1003
+ "exports": [
1004
+ {
1005
+ "kind": "js",
1006
+ "name": "*",
1007
+ "declaration": {
1008
+ "name": "*",
1009
+ "package": "./styles"
1010
+ }
1011
+ },
1012
+ {
1013
+ "kind": "js",
1014
+ "name": "*",
1015
+ "declaration": {
1016
+ "name": "*",
1017
+ "package": "./tokens"
1018
+ }
1019
+ },
1020
+ {
1021
+ "kind": "js",
1022
+ "name": "*",
1023
+ "declaration": {
1024
+ "name": "*",
1025
+ "package": "./values"
1026
+ }
1027
+ }
1028
+ ]
1029
+ },
1030
1030
  {
1031
1031
  "kind": "javascript-module",
1032
1032
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -28283,16 +28283,9 @@
28283
28283
  "path": "src/stepper-tab/stepper-tab.template.ts",
28284
28284
  "declarations": [
28285
28285
  {
28286
- "kind": "function",
28286
+ "kind": "variable",
28287
28287
  "name": "zeroStepperTabTemplate",
28288
- "parameters": [
28289
- {
28290
- "name": "context"
28291
- },
28292
- {
28293
- "name": "definition"
28294
- }
28295
- ]
28288
+ "default": "html<StepperTab>`\n ${getPrefixedStepperTab('zero')}\n`"
28296
28289
  }
28297
28290
  ],
28298
28291
  "exports": [
@@ -28321,11 +28314,23 @@
28321
28314
  "tagName": "%%prefix%%-stepper-tab",
28322
28315
  "customElement": true,
28323
28316
  "attributes": [
28317
+ {
28318
+ "name": "slot",
28319
+ "type": {
28320
+ "text": "string"
28321
+ },
28322
+ "default": "'tab'",
28323
+ "fieldName": "slot",
28324
+ "inheritedFrom": {
28325
+ "name": "StepperTab",
28326
+ "module": "src/stepper-tab/stepper-tab.ts"
28327
+ }
28328
+ },
28324
28329
  {
28325
28330
  "type": {
28326
28331
  "text": "boolean"
28327
28332
  },
28328
- "fieldName": "disabled",
28333
+ "fieldName": "selected",
28329
28334
  "inheritedFrom": {
28330
28335
  "name": "StepperTab",
28331
28336
  "module": "src/stepper-tab/stepper-tab.ts"
@@ -28368,10 +28373,11 @@
28368
28373
  },
28369
28374
  {
28370
28375
  "kind": "field",
28371
- "name": "disabled",
28376
+ "name": "slot",
28372
28377
  "type": {
28373
- "text": "boolean"
28378
+ "text": "string"
28374
28379
  },
28380
+ "default": "'tab'",
28375
28381
  "inheritedFrom": {
28376
28382
  "name": "StepperTab",
28377
28383
  "module": "src/stepper-tab/stepper-tab.ts"
@@ -1 +1 @@
1
- {"version":3,"file":"stepper-tab.styles.d.ts","sourceRoot":"","sources":["../../../src/stepper-tab/stepper-tab.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,oBAAoB,YACtB,wBAAwB,cACrB,2BAA2B,KACtC,aAgBF,CAAC"}
1
+ {"version":3,"file":"stepper-tab.styles.d.ts","sourceRoot":"","sources":["../../../src/stepper-tab/stepper-tab.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,oBAAoB,YACtB,wBAAwB,cACrB,2BAA2B,KACtC,aAYF,CAAC"}
@@ -1,5 +1,3 @@
1
- import type { ViewTemplate } from '@microsoft/fast-element';
2
- import type { FoundationElementTemplate, TabsOptions } from '@microsoft/fast-foundation';
3
1
  import { StepperTab } from './stepper-tab';
4
- export declare const zeroStepperTabTemplate: FoundationElementTemplate<ViewTemplate<StepperTab>, TabsOptions>;
2
+ export declare const zeroStepperTabTemplate: import("@microsoft/fast-element").ViewTemplate<StepperTab, any>;
5
3
  //# sourceMappingURL=stepper-tab.template.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stepper-tab.template.d.ts","sourceRoot":"","sources":["../../../src/stepper-tab/stepper-tab.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,KAAK,EAAE,yBAAyB,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzF,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,eAAO,MAAM,sBAAsB,EAAE,yBAAyB,CAC5D,YAAY,CAAC,UAAU,CAAC,EACxB,WAAW,CAqDZ,CAAC"}
1
+ {"version":3,"file":"stepper-tab.template.d.ts","sourceRoot":"","sources":["../../../src/stepper-tab/stepper-tab.template.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,eAAO,MAAM,sBAAsB,iEAElC,CAAC"}
@@ -12,8 +12,4 @@ export const zeroStepperTabStyles = (context, definition) => css `
12
12
 
13
13
  border-bottom: 1px solid var(--fill-color);
14
14
  }
15
-
16
- zero-icon {
17
- margin-right: 5px;
18
- }
19
15
  `;
@@ -1,43 +1,5 @@
1
- import { whenElse } from '@genesislcap/foundation-utils';
2
- import { html, ref, when } from '@microsoft/fast-element';
3
- import { endSlotTemplate, startSlotTemplate, TabsOrientation } from '@microsoft/fast-foundation';
4
- export const zeroStepperTabTemplate = (context, definition) => html `
5
- <template slot="tab" role="stepper-tab" aria-disabled="${(x) => x.disabled}">
6
- ${startSlotTemplate(context, definition)}
7
- ${whenElse((x) => x.orientation === TabsOrientation.vertical, html `
8
- <zero-tree-item ${ref('treeItem')} class="tree-item">
9
- ${when((x) => x.completed, html `
10
- <zero-icon
11
- name="check-circle"
12
- variant="regular"
13
- size="lg"
14
- class="completed-icon"
15
- ></zero-icon>
16
- `)}
17
- ${when((x) => x.error, html `
18
- <zero-icon
19
- name="times-circle"
20
- variant="regular"
21
- size="lg"
22
- class="error-icon"
23
- ></zero-icon>
24
- `)}
25
- <slot></slot>
26
- </zero-tree-item>
27
- `, html `
28
- <div class="step-number-container">
29
- <span class="step-number">${(x) => x.tabPosition}</span>
30
- <slot class="step-title"></slot>
31
- ${when((x) => !x.isLast, html `
32
- <zero-icon
33
- class="angle-icon"
34
- name="angle-right"
35
- variant="solid"
36
- size="lg"
37
- ></zero-icon>
38
- `)}
39
- </div>
40
- `)}
41
- ${endSlotTemplate(context, definition)}
42
- </template>
1
+ import { getPrefixedStepperTab } from '@genesislcap/foundation-ui';
2
+ import { html } from '@microsoft/fast-element';
3
+ export const zeroStepperTabTemplate = html `
4
+ ${getPrefixedStepperTab('zero')}
43
5
  `;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-zero",
3
3
  "description": "Genesis Foundation Zero Design System",
4
- "version": "14.125.0",
4
+ "version": "14.125.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -67,7 +67,7 @@
67
67
  },
68
68
  "devDependencies": {
69
69
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^4.0.0",
70
- "@genesislcap/genx": "14.125.0",
70
+ "@genesislcap/genx": "14.125.1",
71
71
  "@storybook/addon-coverage": "^1.0.0",
72
72
  "@storybook/addon-essentials": "^7.5.3",
73
73
  "@storybook/addon-links": "^7.5.3",
@@ -82,10 +82,10 @@
82
82
  "storybook": "^7.5.3"
83
83
  },
84
84
  "dependencies": {
85
- "@genesislcap/foundation-comms": "14.125.0",
86
- "@genesislcap/foundation-logger": "14.125.0",
87
- "@genesislcap/foundation-ui": "14.125.0",
88
- "@genesislcap/foundation-utils": "14.125.0",
85
+ "@genesislcap/foundation-comms": "14.125.1",
86
+ "@genesislcap/foundation-logger": "14.125.1",
87
+ "@genesislcap/foundation-ui": "14.125.1",
88
+ "@genesislcap/foundation-utils": "14.125.1",
89
89
  "@microsoft/fast-colors": "^5.1.4",
90
90
  "@microsoft/fast-components": "^2.21.3",
91
91
  "@microsoft/fast-element": "^1.7.0",
@@ -102,5 +102,5 @@
102
102
  "access": "public"
103
103
  },
104
104
  "customElements": "dist/custom-elements.json",
105
- "gitHead": "c59496ce3895b80fa7faf7fb4d2b58b5a64355ba"
105
+ "gitHead": "1c6f03b9dccb2332ab68e08f66ecc4f4011b604b"
106
106
  }