@genesislcap/foundation-zero 14.293.2 → 14.294.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.
@@ -12523,7 +12523,7 @@
12523
12523
  {
12524
12524
  "name": "icon-size",
12525
12525
  "type": {
12526
- "text": "FaSize"
12526
+ "text": "EnvironmentConfig['iconSize']"
12527
12527
  },
12528
12528
  "default": "'sm'",
12529
12529
  "attribute": "icon-size",
@@ -12533,6 +12533,20 @@
12533
12533
  "name": "EnvironmentIndicator",
12534
12534
  "module": "src/environment-indicator/environment-indicator.ts"
12535
12535
  }
12536
+ },
12537
+ {
12538
+ "name": "use-default-config",
12539
+ "type": {
12540
+ "text": "boolean"
12541
+ },
12542
+ "default": "false",
12543
+ "attribute": "use-default-config",
12544
+ "fieldName": "useDefaultConfig",
12545
+ "description": "whether to use the default config",
12546
+ "inheritedFrom": {
12547
+ "name": "EnvironmentIndicator",
12548
+ "module": "src/environment-indicator/environment-indicator.ts"
12549
+ }
12536
12550
  }
12537
12551
  ],
12538
12552
  "members": [
@@ -12627,7 +12641,7 @@
12627
12641
  "kind": "field",
12628
12642
  "name": "iconSize",
12629
12643
  "type": {
12630
- "text": "FaSize"
12644
+ "text": "EnvironmentConfig['iconSize']"
12631
12645
  },
12632
12646
  "default": "'sm'",
12633
12647
  "attribute": "icon-size",
@@ -12636,13 +12650,26 @@
12636
12650
  "module": "src/environment-indicator/environment-indicator.ts"
12637
12651
  }
12638
12652
  },
12653
+ {
12654
+ "kind": "field",
12655
+ "name": "useDefaultConfig",
12656
+ "type": {
12657
+ "text": "boolean"
12658
+ },
12659
+ "default": "false",
12660
+ "attribute": "use-default-config",
12661
+ "inheritedFrom": {
12662
+ "name": "EnvironmentIndicator",
12663
+ "module": "src/environment-indicator/environment-indicator.ts"
12664
+ }
12665
+ },
12639
12666
  {
12640
12667
  "kind": "field",
12641
12668
  "name": "config",
12642
12669
  "type": {
12643
12670
  "text": "EnvironmentConfig"
12644
12671
  },
12645
- "default": "{\n level: DEFAULT_ENVIRONMENT_LEVEL,\n showIcon: false,\n iconSize: 'sm',\n backgroundColor: '#2222ff',\n textColor: '#ffffff',\n label: 'DEFAULT',\n}",
12672
+ "default": "DEFAULT_ENVIRONMENT_LEVEL_CONFIG",
12646
12673
  "description": "Current environment configuration",
12647
12674
  "inheritedFrom": {
12648
12675
  "name": "EnvironmentIndicator",
@@ -12655,7 +12682,7 @@
12655
12682
  "type": {
12656
12683
  "text": "EnvironmentConfig[]"
12657
12684
  },
12658
- "default": "[\n DEFAULT_ENVIRONMENT_LEVEL_CONFIG,\n {\n level: 'dev',\n showIcon: false,\n icon: 'code',\n backgroundColor: '#ff6b35',\n label: 'DEV',\n },\n {\n level: 'prod',\n showIcon: false,\n icon: 'check-circle',\n backgroundColor: '#28a745',\n label: 'PROD',\n },\n]",
12685
+ "default": "DEFAULT_ENVIRONMENT_CONFIGS",
12659
12686
  "description": "Environment configurations",
12660
12687
  "inheritedFrom": {
12661
12688
  "name": "EnvironmentIndicator",
@@ -12670,6 +12697,46 @@
12670
12697
  "module": "src/environment-indicator/environment-indicator.ts"
12671
12698
  }
12672
12699
  },
12700
+ {
12701
+ "kind": "field",
12702
+ "name": "diConfig",
12703
+ "type": {
12704
+ "text": "EnvironmentIndicatorConfig"
12705
+ },
12706
+ "description": "Current environment configuration from DI",
12707
+ "inheritedFrom": {
12708
+ "name": "EnvironmentIndicator",
12709
+ "module": "src/environment-indicator/environment-indicator.ts"
12710
+ }
12711
+ },
12712
+ {
12713
+ "kind": "method",
12714
+ "name": "diConfigChanged",
12715
+ "inheritedFrom": {
12716
+ "name": "EnvironmentIndicator",
12717
+ "module": "src/environment-indicator/environment-indicator.ts"
12718
+ }
12719
+ },
12720
+ {
12721
+ "kind": "field",
12722
+ "name": "unsubscribeConfig",
12723
+ "type": {
12724
+ "text": "() => void | undefined"
12725
+ },
12726
+ "privacy": "private",
12727
+ "inheritedFrom": {
12728
+ "name": "EnvironmentIndicator",
12729
+ "module": "src/environment-indicator/environment-indicator.ts"
12730
+ }
12731
+ },
12732
+ {
12733
+ "kind": "method",
12734
+ "name": "subscribeToDiConfig",
12735
+ "inheritedFrom": {
12736
+ "name": "EnvironmentIndicator",
12737
+ "module": "src/environment-indicator/environment-indicator.ts"
12738
+ }
12739
+ },
12673
12740
  {
12674
12741
  "kind": "method",
12675
12742
  "name": "getAttributesConfig",
@@ -12691,7 +12758,7 @@
12691
12758
  "privacy": "private",
12692
12759
  "return": {
12693
12760
  "type": {
12694
- "text": "string"
12761
+ "text": "string | undefined"
12695
12762
  }
12696
12763
  },
12697
12764
  "description": "Get the current environment level based on priority order",
@@ -12705,7 +12772,7 @@
12705
12772
  "name": "getEnvConfigByLevel",
12706
12773
  "return": {
12707
12774
  "type": {
12708
- "text": "EnvironmentConfig"
12775
+ "text": "EnvironmentConfig | undefined"
12709
12776
  }
12710
12777
  },
12711
12778
  "inheritedFrom": {
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.293.2",
4
+ "version": "14.294.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -71,19 +71,19 @@
71
71
  },
72
72
  "devDependencies": {
73
73
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
74
- "@genesislcap/genx": "14.293.2",
75
- "@genesislcap/rollup-builder": "14.293.2",
76
- "@genesislcap/ts-builder": "14.293.2",
77
- "@genesislcap/uvu-playwright-builder": "14.293.2",
78
- "@genesislcap/vite-builder": "14.293.2",
79
- "@genesislcap/webpack-builder": "14.293.2",
74
+ "@genesislcap/genx": "14.294.0",
75
+ "@genesislcap/rollup-builder": "14.294.0",
76
+ "@genesislcap/ts-builder": "14.294.0",
77
+ "@genesislcap/uvu-playwright-builder": "14.294.0",
78
+ "@genesislcap/vite-builder": "14.294.0",
79
+ "@genesislcap/webpack-builder": "14.294.0",
80
80
  "rimraf": "^5.0.0"
81
81
  },
82
82
  "dependencies": {
83
- "@genesislcap/foundation-comms": "14.293.2",
84
- "@genesislcap/foundation-logger": "14.293.2",
85
- "@genesislcap/foundation-ui": "14.293.2",
86
- "@genesislcap/foundation-utils": "14.293.2",
83
+ "@genesislcap/foundation-comms": "14.294.0",
84
+ "@genesislcap/foundation-logger": "14.294.0",
85
+ "@genesislcap/foundation-ui": "14.294.0",
86
+ "@genesislcap/foundation-utils": "14.294.0",
87
87
  "@microsoft/fast-colors": "5.3.1",
88
88
  "@microsoft/fast-components": "2.30.6",
89
89
  "@microsoft/fast-element": "1.14.0",
@@ -100,5 +100,5 @@
100
100
  "access": "public"
101
101
  },
102
102
  "customElements": "dist/custom-elements.json",
103
- "gitHead": "a5107ae0a1670f5ed14eef84504d7e16385a0601"
103
+ "gitHead": "f7e3720d6f7bd3810a4a8350e4a3e9f436edb078"
104
104
  }