tuix-webcomponents 0.0.37 → 0.0.38

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 (2) hide show
  1. package/custom-elements.json +321 -321
  2. package/package.json +1 -1
@@ -3063,6 +3063,112 @@
3063
3063
  }
3064
3064
  ]
3065
3065
  },
3066
+ {
3067
+ "kind": "javascript-module",
3068
+ "path": "src/tuix-paper/TuixPaper.styles.ts",
3069
+ "declarations": [
3070
+ {
3071
+ "kind": "variable",
3072
+ "name": "paperStyles",
3073
+ "default": "css`\n ${unsafeCSS(`\n .elevation {\n background-color: ${Palette.WHITE};\n }\n .elevation.dark_${PaperElevation.VARIANT_0} {\n background-color: ${Palette.BLACK};\n }\n ${calculatedStyles}\n .elevation.variant_${PaperElevation.VARIANT_4} {\n box-shadow: 0px 7px 24px ${Palette.SHADOW};\n }\n .elevation.dark_${PaperElevation.VARIANT_4} {\n background-color: rgb(33, 33, 40);\n }\n`)}\n`"
3074
+ }
3075
+ ],
3076
+ "exports": [
3077
+ {
3078
+ "kind": "js",
3079
+ "name": "paperStyles",
3080
+ "declaration": {
3081
+ "name": "paperStyles",
3082
+ "module": "src/tuix-paper/TuixPaper.styles.ts"
3083
+ }
3084
+ }
3085
+ ]
3086
+ },
3087
+ {
3088
+ "kind": "javascript-module",
3089
+ "path": "src/tuix-paper/TuixPaper.ts",
3090
+ "declarations": [
3091
+ {
3092
+ "kind": "class",
3093
+ "description": "",
3094
+ "name": "TuixPaper",
3095
+ "members": [
3096
+ {
3097
+ "kind": "field",
3098
+ "name": "elevation",
3099
+ "attribute": "elevation"
3100
+ },
3101
+ {
3102
+ "kind": "field",
3103
+ "name": "borderRadius",
3104
+ "attribute": "border-radius"
3105
+ },
3106
+ {
3107
+ "kind": "field",
3108
+ "name": "dark",
3109
+ "type": {
3110
+ "text": "boolean"
3111
+ },
3112
+ "default": "false",
3113
+ "attribute": "dark",
3114
+ "reflects": true
3115
+ },
3116
+ {
3117
+ "kind": "method",
3118
+ "name": "_getOptionalClasses",
3119
+ "privacy": "private",
3120
+ "return": {
3121
+ "type": {
3122
+ "text": "ClassInfo"
3123
+ }
3124
+ }
3125
+ }
3126
+ ],
3127
+ "attributes": [
3128
+ {
3129
+ "name": "elevation",
3130
+ "fieldName": "elevation"
3131
+ },
3132
+ {
3133
+ "name": "border-radius",
3134
+ "fieldName": "borderRadius"
3135
+ },
3136
+ {
3137
+ "name": "dark",
3138
+ "type": {
3139
+ "text": "boolean"
3140
+ },
3141
+ "default": "false",
3142
+ "fieldName": "dark"
3143
+ }
3144
+ ],
3145
+ "superclass": {
3146
+ "name": "LitElement",
3147
+ "package": "lit"
3148
+ },
3149
+ "tagName": "tuix-paper",
3150
+ "customElement": true
3151
+ }
3152
+ ],
3153
+ "exports": [
3154
+ {
3155
+ "kind": "js",
3156
+ "name": "TuixPaper",
3157
+ "declaration": {
3158
+ "name": "TuixPaper",
3159
+ "module": "src/tuix-paper/TuixPaper.ts"
3160
+ }
3161
+ },
3162
+ {
3163
+ "kind": "custom-element-definition",
3164
+ "name": "tuix-paper",
3165
+ "declaration": {
3166
+ "name": "TuixPaper",
3167
+ "module": "src/tuix-paper/TuixPaper.ts"
3168
+ }
3169
+ }
3170
+ ]
3171
+ },
3066
3172
  {
3067
3173
  "kind": "javascript-module",
3068
3174
  "path": "src/tuix-radio-button/TuixRadioButton.styles.ts",
@@ -3930,43 +4036,56 @@
3930
4036
  },
3931
4037
  {
3932
4038
  "kind": "javascript-module",
3933
- "path": "src/tuix-paper/TuixPaper.styles.ts",
4039
+ "path": "src/tuix-text/TuixText.styles.ts",
3934
4040
  "declarations": [
3935
4041
  {
3936
4042
  "kind": "variable",
3937
- "name": "paperStyles",
3938
- "default": "css`\n ${unsafeCSS(`\n .elevation {\n background-color: ${Palette.WHITE};\n }\n .elevation.dark_${PaperElevation.VARIANT_0} {\n background-color: ${Palette.BLACK};\n }\n ${calculatedStyles}\n .elevation.variant_${PaperElevation.VARIANT_4} {\n box-shadow: 0px 7px 24px ${Palette.SHADOW};\n }\n .elevation.dark_${PaperElevation.VARIANT_4} {\n background-color: rgb(33, 33, 40);\n }\n`)}\n`"
4043
+ "name": "linkFontStyles",
4044
+ "default": "css`\n ${unsafeCSS(`\n ${slottedClassName(TextSize.Link)} {\n font-family: 'Rubik', sans-serif;\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.25rem;\n }\n @media only screen and (max-width: ${ScreenSizes.TABLET}px) {\n ${slottedClassName(TextSize.Link)} {\n font-size: 0.938rem;\n line-height: 1.125rem;\n }\n }\n @media only screen and (max-width: ${ScreenSizes.MOBILE}px) {\n ${slottedClassName(TextSize.Link)} {\n font-size: 0.875rem;\n line-height: 1rem;\n }\n }\n`)}\n`"
4045
+ },
4046
+ {
4047
+ "kind": "variable",
4048
+ "name": "textStyles",
4049
+ "default": "css`\n ${unsafeCSS(`\n ${slottedClassName(TextSize.XXL)} {\n font-size: 6rem;\n font-weight: 600;\n line-height: 6.25rem;\n }\n ${slottedClassName(TextSize.XL)} {\n font-size: 3.375rem;\n font-weight: 600;\n line-height: 3.688rem;\n }\n\n ${slottedClassName(TextSize.L)} {\n font-size: 2.813rem;\n font-weight: 600;\n line-height: 3.375rem;\n }\n\n ${slottedClassName(TextSize.M)} {\n font-size: 2.313rem;\n font-weight: 600;\n line-height: 2.75rem;\n }\n\n ${slottedClassName(TextSize.S)} {\n font-size: 1.938rem;\n font-weight: 600;\n line-height: 2.313rem;\n }\n\n ${slottedClassName(TextSize.XS)} {\n font-size: 1.313rem;\n font-weight: 600;\n line-height: 1.563rem;\n }\n\n ${slottedClassName(TextSize.Body1)} {\n font-size: 1.125rem;\n font-weight: 300;\n line-height: 1.688rem;\n }\n\n ${slottedClassName(TextSize.Body2)} {\n font-size: 0.938rem;\n font-weight: 300;\n line-height: 1.313rem;\n }\n\n ${slottedClassName(TextSize.BulletList)} {\n font-size: 1.125rem;\n font-weight: 300;\n line-height: 1.375rem;\n }\n\n ${slottedClassName(TextSize.FieldPlaceholder)} {\n font-size: 1rem;\n font-weight: 300;\n line-height: 1.25rem;\n }\n\n ${slottedClassName(TextSize.FieldTitle)} {\n font-size: 0.75rem;\n font-weight: 300;\n line-height: 0.875rem;\n }\n\n ${slottedClassName(TextSize.FieldDescription)} {\n font-size: 0.75rem;\n font-weight: 300;\n line-height: 0.875rem;\n }\n\n @media only screen and (max-width: ${ScreenSizes.TABLET}px) {\n ${slottedClassName(TextSize.XXL)} {\n font-size: 3rem;\n font-weight: 600;\n line-height: 3.3125rem;\n }\n ${slottedClassName(TextSize.XL)} {\n font-size: 3rem;\n line-height: 3.313rem;\n }\n ${slottedClassName(TextSize.L)} {\n font-size: 2.5rem;\n line-height: 3rem;\n }\n ${slottedClassName(TextSize.M)} {\n font-size: 2.063rem;\n line-height: 2.5rem;\n }\n ${slottedClassName(TextSize.S)} {\n font-size: 1.75rem;\n line-height: 2.125rem;\n }\n ${slottedClassName(TextSize.XS)} {\n font-size: 1.188rem;\n line-height: 1.438rem;\n }\n\n ${slottedClassName(TextSize.Body1)} {\n font-size: 1rem;\n line-height: 1.5rem;\n }\n\n ${slottedClassName(TextSize.Body2)} {\n font-size: 0.875rem;\n line-height: 1.125rem;\n }\n\n ${slottedClassName(TextSize.BulletList)} {\n font-size: 1rem;\n line-height: 1.1875rem;\n }\n\n ${slottedClassName(TextSize.FieldPlaceholder)} {\n font-size: 0.938rem;\n line-height: 1.125rem;\n }\n }\n\n @media only screen and (max-width: ${ScreenSizes.MOBILE}px) {\n ${slottedClassName(TextSize.XXL)} {\n font-size: 1.8125rem;\n font-weight: 600;\n line-height: 2rem;\n }\n ${slottedClassName(TextSize.XL)} {\n font-size: 2.625rem;\n line-height: 2.875rem;\n }\n ${slottedClassName(TextSize.L)} {\n font-size: 2.188rem;\n line-height: 2.4375rem;\n }\n ${slottedClassName(TextSize.M)} {\n font-size: 1.813rem;\n line-height: 2rem;\n }\n ${slottedClassName(TextSize.S)} {\n font-size: 1.5rem;\n line-height: 1.625rem;\n }\n ${slottedClassName(TextSize.XS)} {\n font-size: 1.063rem;\n line-height: 1.1875rem;\n }\n ${slottedClassName(TextSize.Body1)} {\n font-size: 0.875rem;\n font-weight: 300;\n line-height: 1.313rem;\n }\n ${slottedClassName(TextSize.Body2)} {\n font-size: 0.75rem;\n line-height: 1rem;\n }\n ${slottedClassName(TextSize.BulletList)} {\n font-size: 0.875rem;\n font-weight: 300;\n line-height: 1.0625rem;\n }\n ${slottedClassName(TextSize.FieldPlaceholder)} {\n font-size: 0.875rem;\n font-weight: 300;\n line-height: 1rem;\n }\n }\n`)}\n`"
3939
4050
  }
3940
4051
  ],
3941
4052
  "exports": [
3942
4053
  {
3943
4054
  "kind": "js",
3944
- "name": "paperStyles",
4055
+ "name": "linkFontStyles",
3945
4056
  "declaration": {
3946
- "name": "paperStyles",
3947
- "module": "src/tuix-paper/TuixPaper.styles.ts"
4057
+ "name": "linkFontStyles",
4058
+ "module": "src/tuix-text/TuixText.styles.ts"
4059
+ }
4060
+ },
4061
+ {
4062
+ "kind": "js",
4063
+ "name": "textStyles",
4064
+ "declaration": {
4065
+ "name": "textStyles",
4066
+ "module": "src/tuix-text/TuixText.styles.ts"
3948
4067
  }
3949
4068
  }
3950
4069
  ]
3951
4070
  },
3952
4071
  {
3953
4072
  "kind": "javascript-module",
3954
- "path": "src/tuix-paper/TuixPaper.ts",
4073
+ "path": "src/tuix-text/TuixText.ts",
3955
4074
  "declarations": [
3956
4075
  {
3957
4076
  "kind": "class",
3958
4077
  "description": "",
3959
- "name": "TuixPaper",
4078
+ "name": "TuixText",
3960
4079
  "members": [
3961
4080
  {
3962
4081
  "kind": "field",
3963
- "name": "elevation",
3964
- "attribute": "elevation"
4082
+ "name": "size",
4083
+ "attribute": "size"
3965
4084
  },
3966
4085
  {
3967
4086
  "kind": "field",
3968
- "name": "borderRadius",
3969
- "attribute": "border-radius"
4087
+ "name": "color",
4088
+ "attribute": "color"
3970
4089
  },
3971
4090
  {
3972
4091
  "kind": "field",
@@ -3980,23 +4099,28 @@
3980
4099
  },
3981
4100
  {
3982
4101
  "kind": "method",
3983
- "name": "_getOptionalClasses",
3984
- "privacy": "private",
3985
- "return": {
3986
- "type": {
3987
- "text": "ClassInfo"
3988
- }
3989
- }
4102
+ "name": "_getTextColor",
4103
+ "privacy": "private"
4104
+ },
4105
+ {
4106
+ "kind": "field",
4107
+ "name": "_getStyleMap",
4108
+ "privacy": "private"
4109
+ },
4110
+ {
4111
+ "kind": "field",
4112
+ "name": "_getClassMap",
4113
+ "privacy": "private"
3990
4114
  }
3991
4115
  ],
3992
4116
  "attributes": [
3993
4117
  {
3994
- "name": "elevation",
3995
- "fieldName": "elevation"
4118
+ "name": "size",
4119
+ "fieldName": "size"
3996
4120
  },
3997
4121
  {
3998
- "name": "border-radius",
3999
- "fieldName": "borderRadius"
4122
+ "name": "color",
4123
+ "fieldName": "color"
4000
4124
  },
4001
4125
  {
4002
4126
  "name": "dark",
@@ -4011,25 +4135,25 @@
4011
4135
  "name": "LitElement",
4012
4136
  "package": "lit"
4013
4137
  },
4014
- "tagName": "tuix-paper",
4138
+ "tagName": "tuix-text",
4015
4139
  "customElement": true
4016
4140
  }
4017
4141
  ],
4018
4142
  "exports": [
4019
4143
  {
4020
4144
  "kind": "js",
4021
- "name": "TuixPaper",
4145
+ "name": "TuixText",
4022
4146
  "declaration": {
4023
- "name": "TuixPaper",
4024
- "module": "src/tuix-paper/TuixPaper.ts"
4147
+ "name": "TuixText",
4148
+ "module": "src/tuix-text/TuixText.ts"
4025
4149
  }
4026
4150
  },
4027
4151
  {
4028
4152
  "kind": "custom-element-definition",
4029
- "name": "tuix-paper",
4153
+ "name": "tuix-text",
4030
4154
  "declaration": {
4031
- "name": "TuixPaper",
4032
- "module": "src/tuix-paper/TuixPaper.ts"
4155
+ "name": "TuixText",
4156
+ "module": "src/tuix-text/TuixText.ts"
4033
4157
  }
4034
4158
  }
4035
4159
  ]
@@ -4200,209 +4324,85 @@
4200
4324
  },
4201
4325
  {
4202
4326
  "kind": "javascript-module",
4203
- "path": "src/tuix-text/TuixText.styles.ts",
4327
+ "path": "src/tuix-toggle-button/TuixToggleButton.styles.ts",
4204
4328
  "declarations": [
4205
4329
  {
4206
4330
  "kind": "variable",
4207
- "name": "linkFontStyles",
4208
- "default": "css`\n ${unsafeCSS(`\n ${slottedClassName(TextSize.Link)} {\n font-family: 'Rubik', sans-serif;\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.25rem;\n }\n @media only screen and (max-width: ${ScreenSizes.TABLET}px) {\n ${slottedClassName(TextSize.Link)} {\n font-size: 0.938rem;\n line-height: 1.125rem;\n }\n }\n @media only screen and (max-width: ${ScreenSizes.MOBILE}px) {\n ${slottedClassName(TextSize.Link)} {\n font-size: 0.875rem;\n line-height: 1rem;\n }\n }\n`)}\n`"
4331
+ "name": "toggleButtonHostStyles",
4332
+ "default": "css`\n ${hostStyles}\n :host {\n --t-bg-color-primary: ${unsafeCSS(Palette.PRIMARY_300)};\n --t-bg-color-disabled: ${unsafeCSS(Palette.PRIMARY_100)};\n --t-toggle-shadow-color-focus: rgba(142, 141, 208, 0.16);\n }\n :host([dark]) {\n --t-bg-color-primary: ${unsafeCSS(DarkPalette.PRIMARY_800)};\n --t-bg-color-disabled: ${unsafeCSS(DarkPalette.PRIMARY_800)};\n --t-bg-color-inner: ${unsafeCSS(DarkPalette.WHITE)};\n }\n :host([dark][disabled]) {\n --t-bg-color-inner: ${unsafeCSS(DarkPalette.MAIN)};\n }\n`"
4209
4333
  },
4210
4334
  {
4211
4335
  "kind": "variable",
4212
- "name": "textStyles",
4213
- "default": "css`\n ${unsafeCSS(`\n ${slottedClassName(TextSize.XXL)} {\n font-size: 6rem;\n font-weight: 600;\n line-height: 6.25rem;\n }\n ${slottedClassName(TextSize.XL)} {\n font-size: 3.375rem;\n font-weight: 600;\n line-height: 3.688rem;\n }\n\n ${slottedClassName(TextSize.L)} {\n font-size: 2.813rem;\n font-weight: 600;\n line-height: 3.375rem;\n }\n\n ${slottedClassName(TextSize.M)} {\n font-size: 2.313rem;\n font-weight: 600;\n line-height: 2.75rem;\n }\n\n ${slottedClassName(TextSize.S)} {\n font-size: 1.938rem;\n font-weight: 600;\n line-height: 2.313rem;\n }\n\n ${slottedClassName(TextSize.XS)} {\n font-size: 1.313rem;\n font-weight: 600;\n line-height: 1.563rem;\n }\n\n ${slottedClassName(TextSize.Body1)} {\n font-size: 1.125rem;\n font-weight: 300;\n line-height: 1.688rem;\n }\n\n ${slottedClassName(TextSize.Body2)} {\n font-size: 0.938rem;\n font-weight: 300;\n line-height: 1.313rem;\n }\n\n ${slottedClassName(TextSize.BulletList)} {\n font-size: 1.125rem;\n font-weight: 300;\n line-height: 1.375rem;\n }\n\n ${slottedClassName(TextSize.FieldPlaceholder)} {\n font-size: 1rem;\n font-weight: 300;\n line-height: 1.25rem;\n }\n\n ${slottedClassName(TextSize.FieldTitle)} {\n font-size: 0.75rem;\n font-weight: 300;\n line-height: 0.875rem;\n }\n\n ${slottedClassName(TextSize.FieldDescription)} {\n font-size: 0.75rem;\n font-weight: 300;\n line-height: 0.875rem;\n }\n\n @media only screen and (max-width: ${ScreenSizes.TABLET}px) {\n ${slottedClassName(TextSize.XXL)} {\n font-size: 3rem;\n font-weight: 600;\n line-height: 3.3125rem;\n }\n ${slottedClassName(TextSize.XL)} {\n font-size: 3rem;\n line-height: 3.313rem;\n }\n ${slottedClassName(TextSize.L)} {\n font-size: 2.5rem;\n line-height: 3rem;\n }\n ${slottedClassName(TextSize.M)} {\n font-size: 2.063rem;\n line-height: 2.5rem;\n }\n ${slottedClassName(TextSize.S)} {\n font-size: 1.75rem;\n line-height: 2.125rem;\n }\n ${slottedClassName(TextSize.XS)} {\n font-size: 1.188rem;\n line-height: 1.438rem;\n }\n\n ${slottedClassName(TextSize.Body1)} {\n font-size: 1rem;\n line-height: 1.5rem;\n }\n\n ${slottedClassName(TextSize.Body2)} {\n font-size: 0.875rem;\n line-height: 1.125rem;\n }\n\n ${slottedClassName(TextSize.BulletList)} {\n font-size: 1rem;\n line-height: 1.1875rem;\n }\n\n ${slottedClassName(TextSize.FieldPlaceholder)} {\n font-size: 0.938rem;\n line-height: 1.125rem;\n }\n }\n\n @media only screen and (max-width: ${ScreenSizes.MOBILE}px) {\n ${slottedClassName(TextSize.XXL)} {\n font-size: 1.8125rem;\n font-weight: 600;\n line-height: 2rem;\n }\n ${slottedClassName(TextSize.XL)} {\n font-size: 2.625rem;\n line-height: 2.875rem;\n }\n ${slottedClassName(TextSize.L)} {\n font-size: 2.188rem;\n line-height: 2.4375rem;\n }\n ${slottedClassName(TextSize.M)} {\n font-size: 1.813rem;\n line-height: 2rem;\n }\n ${slottedClassName(TextSize.S)} {\n font-size: 1.5rem;\n line-height: 1.625rem;\n }\n ${slottedClassName(TextSize.XS)} {\n font-size: 1.063rem;\n line-height: 1.1875rem;\n }\n ${slottedClassName(TextSize.Body1)} {\n font-size: 0.875rem;\n font-weight: 300;\n line-height: 1.313rem;\n }\n ${slottedClassName(TextSize.Body2)} {\n font-size: 0.75rem;\n line-height: 1rem;\n }\n ${slottedClassName(TextSize.BulletList)} {\n font-size: 0.875rem;\n font-weight: 300;\n line-height: 1.0625rem;\n }\n ${slottedClassName(TextSize.FieldPlaceholder)} {\n font-size: 0.875rem;\n font-weight: 300;\n line-height: 1rem;\n }\n }\n`)}\n`"
4336
+ "name": "toggleButtonContainerStyles",
4337
+ "default": "css`\n .t-toggle-button-full-container {\n display: flex;\n justify-content: var(--t-label-right-default-justify, flex-start);\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n :host([disabled]) .t-toggle-button-full-container {\n cursor: not-allowed;\n }\n .t-toggle-button-container {\n --t-toggle-button-size-box: 3rem;\n --t-toggle-button-shadow-width: 2px;\n --t-toggle-inner-radio: 1rem;\n display: block;\n position: relative;\n height: calc(var(--t-toggle-button-size-box) / 2);\n width: var(--t-toggle-button-size-box);\n min-width: var(--t-toggle-button-size-box);\n }\n .t-toggle-button-container .t-toggle-button {\n position: absolute;\n opacity: 0;\n height: 0;\n width: 0;\n }\n .t-radio-button-full-container:not(.t-with-label-left) {\n justify-content: flex-start;\n }\n @media only screen and (max-width: ${ScreenSizes.MOBILE}px) {\n .t-toggle-button-container {\n --t-toggle-button-size-box: 2rem;\n --t-toggle-button-shadow-width: 1px;\n --t-toggle-inner-radio: 0.75rem;\n margin-top: 1px;\n }\n }\n`"
4338
+ },
4339
+ {
4340
+ "kind": "variable",
4341
+ "name": "toggleButtonCheckmarkStyles",
4342
+ "default": "css`\n .t-toggle-button-container .t-toggle-button-checkmark {\n position: absolute;\n top: 0;\n left: 0;\n display: flex;\n height: calc(var(--t-toggle-button-size-box) / 2);\n width: var(--t-toggle-button-size-box);\n border-radius: 0.75rem;\n background-color: var(--t-bg-color-primary);\n box-sizing: border-box;\n }\n .t-toggle-button-container\n .t-toggle-button:checked\n ~ .t-toggle-button-checkmark {\n background-color: var(--t-main-color-tuix);\n }\n .t-toggle-button-full-container:hover\n .t-toggle-button-container\n .t-toggle-button-checkmark {\n box-shadow: 0px 4px 4px 0px var(--t-toggle-shadow-color-focus);\n }\n .t-toggle-button-container\n .t-toggle-button:focus\n ~ .t-toggle-button-checkmark {\n box-shadow: 0 0 0px var(--t-toggle-button-shadow-width)\n var(--t-stroke-color-focus);\n }\n .t-toggle-button-container\n .t-toggle-button:disabled\n ~ .t-toggle-button-checkmark {\n background-color: var(--t-bg-color-disabled);\n box-shadow: none;\n }\n`"
4343
+ },
4344
+ {
4345
+ "kind": "variable",
4346
+ "name": "toggleButtonInnerStyles",
4347
+ "default": "css`\n .t-toggle-button-container .t-toggle-button-checkmark .t-toggle-button-inner {\n background-color: var(--t-bg-color-inner, ${unsafeCSS(Palette.WHITE)});\n margin: auto auto auto calc(var(--t-toggle-button-shadow-width) * 2);\n height: var(--t-toggle-inner-radio);\n width: var(--t-toggle-inner-radio);\n border-radius: 50%;\n display: block;\n transition: 0.3s;\n }\n .t-toggle-button-container\n .t-toggle-button:checked\n ~ .t-toggle-button-checkmark\n .t-toggle-button-inner {\n transform: translateX(\n calc(\n var(--t-toggle-button-size-box) - var(--t-toggle-inner-radio) -\n var(--t-toggle-button-shadow-width) * 4\n )\n );\n }\n`"
4348
+ },
4349
+ {
4350
+ "kind": "variable",
4351
+ "name": "toggleButtonLabelStyles",
4352
+ "default": "css`\n .t-toggle-button-label {\n display: block;\n color: var(--t-text-color-label);\n margin-left: 0.625rem;\n }\n .t-toggle-button-full-container.t-with-label-left {\n flex-direction: row-reverse;\n justify-content: var(--t-label-left-default-justify, space-between);\n }\n .t-toggle-button-full-container.t-with-label-left .t-toggle-button-label {\n margin-right: 0.625rem;\n margin-left: 0;\n }\n`"
4214
4353
  }
4215
4354
  ],
4216
4355
  "exports": [
4217
4356
  {
4218
4357
  "kind": "js",
4219
- "name": "linkFontStyles",
4358
+ "name": "toggleButtonHostStyles",
4220
4359
  "declaration": {
4221
- "name": "linkFontStyles",
4222
- "module": "src/tuix-text/TuixText.styles.ts"
4360
+ "name": "toggleButtonHostStyles",
4361
+ "module": "src/tuix-toggle-button/TuixToggleButton.styles.ts"
4223
4362
  }
4224
4363
  },
4225
4364
  {
4226
4365
  "kind": "js",
4227
- "name": "textStyles",
4366
+ "name": "toggleButtonContainerStyles",
4228
4367
  "declaration": {
4229
- "name": "textStyles",
4230
- "module": "src/tuix-text/TuixText.styles.ts"
4368
+ "name": "toggleButtonContainerStyles",
4369
+ "module": "src/tuix-toggle-button/TuixToggleButton.styles.ts"
4370
+ }
4371
+ },
4372
+ {
4373
+ "kind": "js",
4374
+ "name": "toggleButtonCheckmarkStyles",
4375
+ "declaration": {
4376
+ "name": "toggleButtonCheckmarkStyles",
4377
+ "module": "src/tuix-toggle-button/TuixToggleButton.styles.ts"
4378
+ }
4379
+ },
4380
+ {
4381
+ "kind": "js",
4382
+ "name": "toggleButtonInnerStyles",
4383
+ "declaration": {
4384
+ "name": "toggleButtonInnerStyles",
4385
+ "module": "src/tuix-toggle-button/TuixToggleButton.styles.ts"
4386
+ }
4387
+ },
4388
+ {
4389
+ "kind": "js",
4390
+ "name": "toggleButtonLabelStyles",
4391
+ "declaration": {
4392
+ "name": "toggleButtonLabelStyles",
4393
+ "module": "src/tuix-toggle-button/TuixToggleButton.styles.ts"
4231
4394
  }
4232
4395
  }
4233
4396
  ]
4234
4397
  },
4235
4398
  {
4236
4399
  "kind": "javascript-module",
4237
- "path": "src/tuix-text/TuixText.ts",
4400
+ "path": "src/tuix-toggle-button/TuixToggleButton.ts",
4238
4401
  "declarations": [
4239
4402
  {
4240
4403
  "kind": "class",
4241
4404
  "description": "",
4242
- "name": "TuixText",
4243
- "members": [
4244
- {
4245
- "kind": "field",
4246
- "name": "size",
4247
- "attribute": "size"
4248
- },
4249
- {
4250
- "kind": "field",
4251
- "name": "color",
4252
- "attribute": "color"
4253
- },
4254
- {
4255
- "kind": "field",
4256
- "name": "dark",
4257
- "type": {
4258
- "text": "boolean"
4259
- },
4260
- "default": "false",
4261
- "attribute": "dark",
4262
- "reflects": true
4263
- },
4264
- {
4265
- "kind": "method",
4266
- "name": "_getTextColor",
4267
- "privacy": "private"
4268
- },
4269
- {
4270
- "kind": "field",
4271
- "name": "_getStyleMap",
4272
- "privacy": "private"
4273
- },
4274
- {
4275
- "kind": "field",
4276
- "name": "_getClassMap",
4277
- "privacy": "private"
4278
- }
4279
- ],
4280
- "attributes": [
4281
- {
4282
- "name": "size",
4283
- "fieldName": "size"
4284
- },
4285
- {
4286
- "name": "color",
4287
- "fieldName": "color"
4288
- },
4289
- {
4290
- "name": "dark",
4291
- "type": {
4292
- "text": "boolean"
4293
- },
4294
- "default": "false",
4295
- "fieldName": "dark"
4296
- }
4297
- ],
4298
- "superclass": {
4299
- "name": "LitElement",
4300
- "package": "lit"
4301
- },
4302
- "tagName": "tuix-text",
4303
- "customElement": true
4304
- }
4305
- ],
4306
- "exports": [
4307
- {
4308
- "kind": "js",
4309
- "name": "TuixText",
4310
- "declaration": {
4311
- "name": "TuixText",
4312
- "module": "src/tuix-text/TuixText.ts"
4313
- }
4314
- },
4315
- {
4316
- "kind": "custom-element-definition",
4317
- "name": "tuix-text",
4318
- "declaration": {
4319
- "name": "TuixText",
4320
- "module": "src/tuix-text/TuixText.ts"
4321
- }
4322
- }
4323
- ]
4324
- },
4325
- {
4326
- "kind": "javascript-module",
4327
- "path": "src/tuix-toggle-button/TuixToggleButton.styles.ts",
4328
- "declarations": [
4329
- {
4330
- "kind": "variable",
4331
- "name": "toggleButtonHostStyles",
4332
- "default": "css`\n ${hostStyles}\n :host {\n --t-bg-color-primary: ${unsafeCSS(Palette.PRIMARY_300)};\n --t-bg-color-disabled: ${unsafeCSS(Palette.PRIMARY_100)};\n --t-toggle-shadow-color-focus: rgba(142, 141, 208, 0.16);\n }\n :host([dark]) {\n --t-bg-color-primary: ${unsafeCSS(DarkPalette.PRIMARY_800)};\n --t-bg-color-disabled: ${unsafeCSS(DarkPalette.PRIMARY_800)};\n --t-bg-color-inner: ${unsafeCSS(DarkPalette.WHITE)};\n }\n :host([dark][disabled]) {\n --t-bg-color-inner: ${unsafeCSS(DarkPalette.MAIN)};\n }\n`"
4333
- },
4334
- {
4335
- "kind": "variable",
4336
- "name": "toggleButtonContainerStyles",
4337
- "default": "css`\n .t-toggle-button-full-container {\n display: flex;\n justify-content: var(--t-label-right-default-justify, flex-start);\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n :host([disabled]) .t-toggle-button-full-container {\n cursor: not-allowed;\n }\n .t-toggle-button-container {\n --t-toggle-button-size-box: 3rem;\n --t-toggle-button-shadow-width: 2px;\n --t-toggle-inner-radio: 1rem;\n display: block;\n position: relative;\n height: calc(var(--t-toggle-button-size-box) / 2);\n width: var(--t-toggle-button-size-box);\n min-width: var(--t-toggle-button-size-box);\n }\n .t-toggle-button-container .t-toggle-button {\n position: absolute;\n opacity: 0;\n height: 0;\n width: 0;\n }\n .t-radio-button-full-container:not(.t-with-label-left) {\n justify-content: flex-start;\n }\n @media only screen and (max-width: ${ScreenSizes.MOBILE}px) {\n .t-toggle-button-container {\n --t-toggle-button-size-box: 2rem;\n --t-toggle-button-shadow-width: 1px;\n --t-toggle-inner-radio: 0.75rem;\n margin-top: 1px;\n }\n }\n`"
4338
- },
4339
- {
4340
- "kind": "variable",
4341
- "name": "toggleButtonCheckmarkStyles",
4342
- "default": "css`\n .t-toggle-button-container .t-toggle-button-checkmark {\n position: absolute;\n top: 0;\n left: 0;\n display: flex;\n height: calc(var(--t-toggle-button-size-box) / 2);\n width: var(--t-toggle-button-size-box);\n border-radius: 0.75rem;\n background-color: var(--t-bg-color-primary);\n box-sizing: border-box;\n }\n .t-toggle-button-container\n .t-toggle-button:checked\n ~ .t-toggle-button-checkmark {\n background-color: var(--t-main-color-tuix);\n }\n .t-toggle-button-full-container:hover\n .t-toggle-button-container\n .t-toggle-button-checkmark {\n box-shadow: 0px 4px 4px 0px var(--t-toggle-shadow-color-focus);\n }\n .t-toggle-button-container\n .t-toggle-button:focus\n ~ .t-toggle-button-checkmark {\n box-shadow: 0 0 0px var(--t-toggle-button-shadow-width)\n var(--t-stroke-color-focus);\n }\n .t-toggle-button-container\n .t-toggle-button:disabled\n ~ .t-toggle-button-checkmark {\n background-color: var(--t-bg-color-disabled);\n box-shadow: none;\n }\n`"
4343
- },
4344
- {
4345
- "kind": "variable",
4346
- "name": "toggleButtonInnerStyles",
4347
- "default": "css`\n .t-toggle-button-container .t-toggle-button-checkmark .t-toggle-button-inner {\n background-color: var(--t-bg-color-inner, ${unsafeCSS(Palette.WHITE)});\n margin: auto auto auto calc(var(--t-toggle-button-shadow-width) * 2);\n height: var(--t-toggle-inner-radio);\n width: var(--t-toggle-inner-radio);\n border-radius: 50%;\n display: block;\n transition: 0.3s;\n }\n .t-toggle-button-container\n .t-toggle-button:checked\n ~ .t-toggle-button-checkmark\n .t-toggle-button-inner {\n transform: translateX(\n calc(\n var(--t-toggle-button-size-box) - var(--t-toggle-inner-radio) -\n var(--t-toggle-button-shadow-width) * 4\n )\n );\n }\n`"
4348
- },
4349
- {
4350
- "kind": "variable",
4351
- "name": "toggleButtonLabelStyles",
4352
- "default": "css`\n .t-toggle-button-label {\n display: block;\n color: var(--t-text-color-label);\n margin-left: 0.625rem;\n }\n .t-toggle-button-full-container.t-with-label-left {\n flex-direction: row-reverse;\n justify-content: var(--t-label-left-default-justify, space-between);\n }\n .t-toggle-button-full-container.t-with-label-left .t-toggle-button-label {\n margin-right: 0.625rem;\n margin-left: 0;\n }\n`"
4353
- }
4354
- ],
4355
- "exports": [
4356
- {
4357
- "kind": "js",
4358
- "name": "toggleButtonHostStyles",
4359
- "declaration": {
4360
- "name": "toggleButtonHostStyles",
4361
- "module": "src/tuix-toggle-button/TuixToggleButton.styles.ts"
4362
- }
4363
- },
4364
- {
4365
- "kind": "js",
4366
- "name": "toggleButtonContainerStyles",
4367
- "declaration": {
4368
- "name": "toggleButtonContainerStyles",
4369
- "module": "src/tuix-toggle-button/TuixToggleButton.styles.ts"
4370
- }
4371
- },
4372
- {
4373
- "kind": "js",
4374
- "name": "toggleButtonCheckmarkStyles",
4375
- "declaration": {
4376
- "name": "toggleButtonCheckmarkStyles",
4377
- "module": "src/tuix-toggle-button/TuixToggleButton.styles.ts"
4378
- }
4379
- },
4380
- {
4381
- "kind": "js",
4382
- "name": "toggleButtonInnerStyles",
4383
- "declaration": {
4384
- "name": "toggleButtonInnerStyles",
4385
- "module": "src/tuix-toggle-button/TuixToggleButton.styles.ts"
4386
- }
4387
- },
4388
- {
4389
- "kind": "js",
4390
- "name": "toggleButtonLabelStyles",
4391
- "declaration": {
4392
- "name": "toggleButtonLabelStyles",
4393
- "module": "src/tuix-toggle-button/TuixToggleButton.styles.ts"
4394
- }
4395
- }
4396
- ]
4397
- },
4398
- {
4399
- "kind": "javascript-module",
4400
- "path": "src/tuix-toggle-button/TuixToggleButton.ts",
4401
- "declarations": [
4402
- {
4403
- "kind": "class",
4404
- "description": "",
4405
- "name": "TuixToggleButton",
4405
+ "name": "TuixToggleButton",
4406
4406
  "members": [
4407
4407
  {
4408
4408
  "kind": "field",
@@ -4864,6 +4864,30 @@
4864
4864
  }
4865
4865
  ]
4866
4866
  },
4867
+ {
4868
+ "kind": "javascript-module",
4869
+ "path": "src/tuix-icon/enums/tuix-icon.enums.ts",
4870
+ "declarations": [
4871
+ {
4872
+ "kind": "variable",
4873
+ "name": "iconSize",
4874
+ "type": {
4875
+ "text": "Record<IconSizeVariant, string>"
4876
+ },
4877
+ "default": "{\n [IconSizeVariant.SMALL]: '16px',\n [IconSizeVariant.MEDIUM]: '24px',\n [IconSizeVariant.LARGE]: '32px',\n [IconSizeVariant.FULL]: '100%',\n}"
4878
+ }
4879
+ ],
4880
+ "exports": [
4881
+ {
4882
+ "kind": "js",
4883
+ "name": "iconSize",
4884
+ "declaration": {
4885
+ "name": "iconSize",
4886
+ "module": "src/tuix-icon/enums/tuix-icon.enums.ts"
4887
+ }
4888
+ }
4889
+ ]
4890
+ },
4867
4891
  {
4868
4892
  "kind": "javascript-module",
4869
4893
  "path": "src/tuix-icon/stories/tuix-icon.stories.ts",
@@ -4904,30 +4928,6 @@
4904
4928
  }
4905
4929
  ]
4906
4930
  },
4907
- {
4908
- "kind": "javascript-module",
4909
- "path": "src/tuix-icon/enums/tuix-icon.enums.ts",
4910
- "declarations": [
4911
- {
4912
- "kind": "variable",
4913
- "name": "iconSize",
4914
- "type": {
4915
- "text": "Record<IconSizeVariant, string>"
4916
- },
4917
- "default": "{\n [IconSizeVariant.SMALL]: '16px',\n [IconSizeVariant.MEDIUM]: '24px',\n [IconSizeVariant.LARGE]: '32px',\n [IconSizeVariant.FULL]: '100%',\n}"
4918
- }
4919
- ],
4920
- "exports": [
4921
- {
4922
- "kind": "js",
4923
- "name": "iconSize",
4924
- "declaration": {
4925
- "name": "iconSize",
4926
- "module": "src/tuix-icon/enums/tuix-icon.enums.ts"
4927
- }
4928
- }
4929
- ]
4930
- },
4931
4931
  {
4932
4932
  "kind": "javascript-module",
4933
4933
  "path": "src/tuix-icon-button/stories/tuix-icon-button.stories.ts",
@@ -5174,6 +5174,52 @@
5174
5174
  }
5175
5175
  ]
5176
5176
  },
5177
+ {
5178
+ "kind": "javascript-module",
5179
+ "path": "src/tuix-paper/enums/tuix-paper.enum.ts",
5180
+ "declarations": [],
5181
+ "exports": []
5182
+ },
5183
+ {
5184
+ "kind": "javascript-module",
5185
+ "path": "src/tuix-paper/stories/tuix-paper.stories.ts",
5186
+ "declarations": [
5187
+ {
5188
+ "kind": "variable",
5189
+ "name": "meta",
5190
+ "type": {
5191
+ "text": "object"
5192
+ },
5193
+ "default": "{\n title: 'TuixPaper',\n component: 'tuix-paper',\n argTypes: {\n elevation: {\n control: 'select',\n options: Object.values(PaperElevation),\n },\n borderRadius: {\n control: 'select',\n options: Object.values(BorderRadiusPaper),\n },\n dark: {\n control: 'boolean',\n },\n },\n render: (args: ArgTypes) => html`\n <style>\n tuix-text {\n width: 181px;\n height: 181px;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n </style>\n <div\n style=\"display: flex; justify-content: center; align-items: center; height: 100vh;\n ${args.dark ? `background-color: ${Palette.BLACK};` : ''}\"\n >\n <tuix-paper\n elevation=\"${args.elevation}\"\n ?dark=\"${args.dark}\"\n border-radius=\"${args.borderRadius}\"\n >\n <tuix-text size=\"${TextSize.Body2}\" ?dark=\"${args.dark}\">\n Elevation\n </tuix-text>\n </tuix-paper>\n </div>\n `,\n}"
5194
+ },
5195
+ {
5196
+ "kind": "variable",
5197
+ "name": "elevation",
5198
+ "type": {
5199
+ "text": "Story"
5200
+ },
5201
+ "default": "{\n args: {\n elevation: PaperElevation.VARIANT_1,\n borderRadius: BorderRadiusPaper.STRONG,\n dark: false,\n },\n}"
5202
+ }
5203
+ ],
5204
+ "exports": [
5205
+ {
5206
+ "kind": "js",
5207
+ "name": "default",
5208
+ "declaration": {
5209
+ "name": "meta",
5210
+ "module": "src/tuix-paper/stories/tuix-paper.stories.ts"
5211
+ }
5212
+ },
5213
+ {
5214
+ "kind": "js",
5215
+ "name": "elevation",
5216
+ "declaration": {
5217
+ "name": "elevation",
5218
+ "module": "src/tuix-paper/stories/tuix-paper.stories.ts"
5219
+ }
5220
+ }
5221
+ ]
5222
+ },
5177
5223
  {
5178
5224
  "kind": "javascript-module",
5179
5225
  "path": "src/tuix-radio-button/interfaces/tuix-radio-button.interface.ts",
@@ -5268,13 +5314,47 @@
5268
5314
  },
5269
5315
  {
5270
5316
  "kind": "javascript-module",
5271
- "path": "src/tuix-paper/enums/tuix-paper.enum.ts",
5272
- "declarations": [],
5273
- "exports": []
5317
+ "path": "src/tuix-text/enums/tuix-text.enums.ts",
5318
+ "declarations": [
5319
+ {
5320
+ "kind": "variable",
5321
+ "name": "colorText",
5322
+ "type": {
5323
+ "text": "Record<TextVariant, string>"
5324
+ },
5325
+ "default": "{\n [TextVariant.MAIN]: Palette.MAIN,\n [TextVariant.DARK_MAIN]: Palette.DARK_MAIN,\n [TextVariant.PRIMARY]: Palette.BLACK,\n [TextVariant.SECONDARY]: Palette.WHITE,\n [TextVariant.STROKE]: Palette.PRIMARY_400,\n [TextVariant.GREY]: Palette.NEUTRAL_600,\n [TextVariant.LIGHT_GREY]: Palette.NEUTRAL_200,\n [TextVariant.DISABLED]: Palette.PRIMARY_100,\n [TextVariant.SECTION]: Palette.PRIMARY_700,\n [TextVariant.VALIDATION]: Palette.VALIDATION,\n [TextVariant.ERROR]: Palette.ERROR,\n [TextVariant.SUCCESS]: Palette.SUCCESS,\n [TextVariant.LIGHT]: Palette.WHITE,\n [TextVariant.DARK]: Palette.BLACK,\n [TextVariant.DARK_BLUE]: Palette.DARK_MAIN,\n [TextVariant.TITLE_BLUE]: Palette.DARK_MAIN,\n}"
5326
+ },
5327
+ {
5328
+ "kind": "variable",
5329
+ "name": "colorTextDark",
5330
+ "type": {
5331
+ "text": "Record<TextVariant, string>"
5332
+ },
5333
+ "default": "{\n ...colorText,\n [TextVariant.MAIN]: DarkPalette.MAIN,\n [TextVariant.DARK_MAIN]: DarkPalette.NEUTRAL_600,\n [TextVariant.PRIMARY]: DarkPalette.PRIMARY_50,\n [TextVariant.SECONDARY]: Palette.BLACK,\n [TextVariant.GREY]: DarkPalette.NEUTRAL_600,\n [TextVariant.DISABLED]: Palette.PRIMARY_200,\n [TextVariant.VALIDATION]: DarkPalette.VALIDATION,\n [TextVariant.ERROR]: DarkPalette.ERROR,\n [TextVariant.SUCCESS]: DarkPalette.SUCCESS,\n [TextVariant.LIGHT]: DarkPalette.PRIMARY_50,\n [TextVariant.DARK_BLUE]: DarkPalette.PRIMARY_800,\n [TextVariant.TITLE_BLUE]: DarkPalette.PRIMARY_300,\n [TextVariant.SECTION]: Palette.PRIMARY_300,\n}"
5334
+ }
5335
+ ],
5336
+ "exports": [
5337
+ {
5338
+ "kind": "js",
5339
+ "name": "colorText",
5340
+ "declaration": {
5341
+ "name": "colorText",
5342
+ "module": "src/tuix-text/enums/tuix-text.enums.ts"
5343
+ }
5344
+ },
5345
+ {
5346
+ "kind": "js",
5347
+ "name": "colorTextDark",
5348
+ "declaration": {
5349
+ "name": "colorTextDark",
5350
+ "module": "src/tuix-text/enums/tuix-text.enums.ts"
5351
+ }
5352
+ }
5353
+ ]
5274
5354
  },
5275
5355
  {
5276
5356
  "kind": "javascript-module",
5277
- "path": "src/tuix-paper/stories/tuix-paper.stories.ts",
5357
+ "path": "src/tuix-text/stories/tuix-text.stories.ts",
5278
5358
  "declarations": [
5279
5359
  {
5280
5360
  "kind": "variable",
@@ -5282,15 +5362,15 @@
5282
5362
  "type": {
5283
5363
  "text": "object"
5284
5364
  },
5285
- "default": "{\n title: 'TuixPaper',\n component: 'tuix-paper',\n argTypes: {\n elevation: {\n control: 'select',\n options: Object.values(PaperElevation),\n },\n borderRadius: {\n control: 'select',\n options: Object.values(BorderRadiusPaper),\n },\n dark: {\n control: 'boolean',\n },\n },\n render: (args: ArgTypes) => html`\n <style>\n tuix-text {\n width: 181px;\n height: 181px;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n </style>\n <div\n style=\"display: flex; justify-content: center; align-items: center; height: 100vh;\n ${args.dark ? `background-color: ${Palette.BLACK};` : ''}\"\n >\n <tuix-paper\n elevation=\"${args.elevation}\"\n ?dark=\"${args.dark}\"\n border-radius=\"${args.borderRadius}\"\n >\n <tuix-text size=\"${TextSize.Body2}\" ?dark=\"${args.dark}\">\n Elevation\n </tuix-text>\n </tuix-paper>\n </div>\n `,\n}"
5365
+ "default": "{\n title: 'TuixText',\n component: 'tuix-text',\n argTypes: {\n value: { control: 'text' },\n size: {\n control: 'select',\n options: Object.values(TextSize),\n },\n color: {\n control: 'select',\n options: Object.values(TextVariant),\n },\n dark: {\n control: 'boolean',\n },\n },\n render: (args: ArgTypes) => html`\n <style>\n tuix-text > * {\n display: block;\n }\n </style>\n <div\n style=\"display: flex; justify-content: center; align-items: center; height: 100%; \n ${args.dark ? `background-color: ${Palette.BLACK};` : ''}\"\n >\n <tuix-text size=\"${args.size}\" color=\"${args.color}\" ?dark=\"${args.dark}\">\n ${args.value}\n <h1>${args.value}</h1>\n <h2>${args.value}</h2>\n <h3>${args.value}</h3>\n <h4>${args.value}</h4>\n <h5>${args.value}</h5>\n <h6>${args.value}</h6>\n <p>${args.value}</p>\n <span> ${args.value} </span>\n </tuix-text>\n </div>\n `,\n}"
5286
5366
  },
5287
5367
  {
5288
5368
  "kind": "variable",
5289
- "name": "elevation",
5369
+ "name": "Headline",
5290
5370
  "type": {
5291
5371
  "text": "Story"
5292
5372
  },
5293
- "default": "{\n args: {\n elevation: PaperElevation.VARIANT_1,\n borderRadius: BorderRadiusPaper.STRONG,\n dark: false,\n },\n}"
5373
+ "default": "{\n args: {\n value: 'Test text',\n size: TextSize.XL,\n dark: false,\n },\n}"
5294
5374
  }
5295
5375
  ],
5296
5376
  "exports": [
@@ -5299,15 +5379,15 @@
5299
5379
  "name": "default",
5300
5380
  "declaration": {
5301
5381
  "name": "meta",
5302
- "module": "src/tuix-paper/stories/tuix-paper.stories.ts"
5382
+ "module": "src/tuix-text/stories/tuix-text.stories.ts"
5303
5383
  }
5304
5384
  },
5305
5385
  {
5306
5386
  "kind": "js",
5307
- "name": "elevation",
5387
+ "name": "Headline",
5308
5388
  "declaration": {
5309
- "name": "elevation",
5310
- "module": "src/tuix-paper/stories/tuix-paper.stories.ts"
5389
+ "name": "Headline",
5390
+ "module": "src/tuix-text/stories/tuix-text.stories.ts"
5311
5391
  }
5312
5392
  }
5313
5393
  ]
@@ -5424,86 +5504,6 @@
5424
5504
  }
5425
5505
  ]
5426
5506
  },
5427
- {
5428
- "kind": "javascript-module",
5429
- "path": "src/tuix-text/enums/tuix-text.enums.ts",
5430
- "declarations": [
5431
- {
5432
- "kind": "variable",
5433
- "name": "colorText",
5434
- "type": {
5435
- "text": "Record<TextVariant, string>"
5436
- },
5437
- "default": "{\n [TextVariant.MAIN]: Palette.MAIN,\n [TextVariant.DARK_MAIN]: Palette.DARK_MAIN,\n [TextVariant.PRIMARY]: Palette.BLACK,\n [TextVariant.SECONDARY]: Palette.WHITE,\n [TextVariant.STROKE]: Palette.PRIMARY_400,\n [TextVariant.GREY]: Palette.NEUTRAL_600,\n [TextVariant.LIGHT_GREY]: Palette.NEUTRAL_200,\n [TextVariant.DISABLED]: Palette.PRIMARY_100,\n [TextVariant.SECTION]: Palette.PRIMARY_700,\n [TextVariant.VALIDATION]: Palette.VALIDATION,\n [TextVariant.ERROR]: Palette.ERROR,\n [TextVariant.SUCCESS]: Palette.SUCCESS,\n [TextVariant.LIGHT]: Palette.WHITE,\n [TextVariant.DARK]: Palette.BLACK,\n [TextVariant.DARK_BLUE]: Palette.DARK_MAIN,\n [TextVariant.TITLE_BLUE]: Palette.DARK_MAIN,\n}"
5438
- },
5439
- {
5440
- "kind": "variable",
5441
- "name": "colorTextDark",
5442
- "type": {
5443
- "text": "Record<TextVariant, string>"
5444
- },
5445
- "default": "{\n ...colorText,\n [TextVariant.MAIN]: DarkPalette.MAIN,\n [TextVariant.DARK_MAIN]: DarkPalette.NEUTRAL_600,\n [TextVariant.PRIMARY]: DarkPalette.PRIMARY_50,\n [TextVariant.SECONDARY]: Palette.BLACK,\n [TextVariant.GREY]: DarkPalette.NEUTRAL_600,\n [TextVariant.DISABLED]: Palette.PRIMARY_200,\n [TextVariant.VALIDATION]: DarkPalette.VALIDATION,\n [TextVariant.ERROR]: DarkPalette.ERROR,\n [TextVariant.SUCCESS]: DarkPalette.SUCCESS,\n [TextVariant.LIGHT]: DarkPalette.PRIMARY_50,\n [TextVariant.DARK_BLUE]: DarkPalette.PRIMARY_800,\n [TextVariant.TITLE_BLUE]: DarkPalette.PRIMARY_300,\n [TextVariant.SECTION]: Palette.PRIMARY_300,\n}"
5446
- }
5447
- ],
5448
- "exports": [
5449
- {
5450
- "kind": "js",
5451
- "name": "colorText",
5452
- "declaration": {
5453
- "name": "colorText",
5454
- "module": "src/tuix-text/enums/tuix-text.enums.ts"
5455
- }
5456
- },
5457
- {
5458
- "kind": "js",
5459
- "name": "colorTextDark",
5460
- "declaration": {
5461
- "name": "colorTextDark",
5462
- "module": "src/tuix-text/enums/tuix-text.enums.ts"
5463
- }
5464
- }
5465
- ]
5466
- },
5467
- {
5468
- "kind": "javascript-module",
5469
- "path": "src/tuix-text/stories/tuix-text.stories.ts",
5470
- "declarations": [
5471
- {
5472
- "kind": "variable",
5473
- "name": "meta",
5474
- "type": {
5475
- "text": "object"
5476
- },
5477
- "default": "{\n title: 'TuixText',\n component: 'tuix-text',\n argTypes: {\n value: { control: 'text' },\n size: {\n control: 'select',\n options: Object.values(TextSize),\n },\n color: {\n control: 'select',\n options: Object.values(TextVariant),\n },\n dark: {\n control: 'boolean',\n },\n },\n render: (args: ArgTypes) => html`\n <style>\n tuix-text > * {\n display: block;\n }\n </style>\n <div\n style=\"display: flex; justify-content: center; align-items: center; height: 100%; \n ${args.dark ? `background-color: ${Palette.BLACK};` : ''}\"\n >\n <tuix-text size=\"${args.size}\" color=\"${args.color}\" ?dark=\"${args.dark}\">\n ${args.value}\n <h1>${args.value}</h1>\n <h2>${args.value}</h2>\n <h3>${args.value}</h3>\n <h4>${args.value}</h4>\n <h5>${args.value}</h5>\n <h6>${args.value}</h6>\n <p>${args.value}</p>\n <span> ${args.value} </span>\n </tuix-text>\n </div>\n `,\n}"
5478
- },
5479
- {
5480
- "kind": "variable",
5481
- "name": "Headline",
5482
- "type": {
5483
- "text": "Story"
5484
- },
5485
- "default": "{\n args: {\n value: 'Test text',\n size: TextSize.XL,\n dark: false,\n },\n}"
5486
- }
5487
- ],
5488
- "exports": [
5489
- {
5490
- "kind": "js",
5491
- "name": "default",
5492
- "declaration": {
5493
- "name": "meta",
5494
- "module": "src/tuix-text/stories/tuix-text.stories.ts"
5495
- }
5496
- },
5497
- {
5498
- "kind": "js",
5499
- "name": "Headline",
5500
- "declaration": {
5501
- "name": "Headline",
5502
- "module": "src/tuix-text/stories/tuix-text.stories.ts"
5503
- }
5504
- }
5505
- ]
5506
- },
5507
5507
  {
5508
5508
  "kind": "javascript-module",
5509
5509
  "path": "src/tuix-toggle-button/interfaces/tuix-toggle.interface.ts",
package/package.json CHANGED
@@ -138,5 +138,5 @@
138
138
  "test": "echo \"No tests configured\""
139
139
  },
140
140
  "type": "module",
141
- "version": "0.0.37"
141
+ "version": "0.0.38"
142
142
  }