@jsekulowicz/ds-components 0.4.1 → 0.5.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.
- package/custom-elements.json +626 -591
- package/dist/atoms/icon/icon.d.ts +1 -1
- package/dist/atoms/icon/icon.d.ts.map +1 -1
- package/dist/atoms/icon/icon.js +4 -3
- package/dist/atoms/icon/icon.js.map +1 -1
- package/dist/atoms/icon/icon.styles.d.ts.map +1 -1
- package/dist/atoms/icon/icon.styles.js +8 -0
- package/dist/atoms/icon/icon.styles.js.map +1 -1
- package/dist/organisms/footer/footer.styles.d.ts.map +1 -1
- package/dist/organisms/footer/footer.styles.js +6 -1
- package/dist/organisms/footer/footer.styles.js.map +1 -1
- package/dist/organisms/navbar/navbar.js +1 -1
- package/dist/organisms/navbar/navbar.styles.d.ts.map +1 -1
- package/dist/organisms/navbar/navbar.styles.js +7 -1
- package/dist/organisms/navbar/navbar.styles.js.map +1 -1
- package/dist/templates/page-shell/page-shell.d.ts +4 -1
- package/dist/templates/page-shell/page-shell.d.ts.map +1 -1
- package/dist/templates/page-shell/page-shell.js +34 -4
- package/dist/templates/page-shell/page-shell.js.map +1 -1
- package/dist/templates/page-shell/page-shell.styles.d.ts.map +1 -1
- package/dist/templates/page-shell/page-shell.styles.js +43 -7
- package/dist/templates/page-shell/page-shell.styles.js.map +1 -1
- package/package.json +3 -3
package/custom-elements.json
CHANGED
|
@@ -898,6 +898,102 @@
|
|
|
898
898
|
}
|
|
899
899
|
]
|
|
900
900
|
},
|
|
901
|
+
{
|
|
902
|
+
"kind": "javascript-module",
|
|
903
|
+
"path": "src/test-utils/mount.ts",
|
|
904
|
+
"declarations": [
|
|
905
|
+
{
|
|
906
|
+
"kind": "function",
|
|
907
|
+
"name": "resetTestDom",
|
|
908
|
+
"return": {
|
|
909
|
+
"type": {
|
|
910
|
+
"text": "void"
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
"kind": "function",
|
|
916
|
+
"name": "mount",
|
|
917
|
+
"return": {
|
|
918
|
+
"type": {
|
|
919
|
+
"text": "Promise<T>"
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
"parameters": [
|
|
923
|
+
{
|
|
924
|
+
"name": "template",
|
|
925
|
+
"type": {
|
|
926
|
+
"text": "string"
|
|
927
|
+
}
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
"name": "selector",
|
|
931
|
+
"optional": true,
|
|
932
|
+
"type": {
|
|
933
|
+
"text": "string"
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
]
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"kind": "function",
|
|
940
|
+
"name": "mountWithProps",
|
|
941
|
+
"return": {
|
|
942
|
+
"type": {
|
|
943
|
+
"text": "Promise<T>"
|
|
944
|
+
}
|
|
945
|
+
},
|
|
946
|
+
"parameters": [
|
|
947
|
+
{
|
|
948
|
+
"name": "template",
|
|
949
|
+
"type": {
|
|
950
|
+
"text": "string"
|
|
951
|
+
}
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"name": "props",
|
|
955
|
+
"default": "{}",
|
|
956
|
+
"type": {
|
|
957
|
+
"text": "Partial<T>"
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
"name": "selector",
|
|
962
|
+
"optional": true,
|
|
963
|
+
"type": {
|
|
964
|
+
"text": "string"
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
]
|
|
968
|
+
}
|
|
969
|
+
],
|
|
970
|
+
"exports": [
|
|
971
|
+
{
|
|
972
|
+
"kind": "js",
|
|
973
|
+
"name": "resetTestDom",
|
|
974
|
+
"declaration": {
|
|
975
|
+
"name": "resetTestDom",
|
|
976
|
+
"module": "src/test-utils/mount.ts"
|
|
977
|
+
}
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"kind": "js",
|
|
981
|
+
"name": "mount",
|
|
982
|
+
"declaration": {
|
|
983
|
+
"name": "mount",
|
|
984
|
+
"module": "src/test-utils/mount.ts"
|
|
985
|
+
}
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"kind": "js",
|
|
989
|
+
"name": "mountWithProps",
|
|
990
|
+
"declaration": {
|
|
991
|
+
"name": "mountWithProps",
|
|
992
|
+
"module": "src/test-utils/mount.ts"
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
]
|
|
996
|
+
},
|
|
901
997
|
{
|
|
902
998
|
"kind": "javascript-module",
|
|
903
999
|
"path": "src/atoms/badge/badge.styles.ts",
|
|
@@ -1013,102 +1109,6 @@
|
|
|
1013
1109
|
}
|
|
1014
1110
|
]
|
|
1015
1111
|
},
|
|
1016
|
-
{
|
|
1017
|
-
"kind": "javascript-module",
|
|
1018
|
-
"path": "src/test-utils/mount.ts",
|
|
1019
|
-
"declarations": [
|
|
1020
|
-
{
|
|
1021
|
-
"kind": "function",
|
|
1022
|
-
"name": "resetTestDom",
|
|
1023
|
-
"return": {
|
|
1024
|
-
"type": {
|
|
1025
|
-
"text": "void"
|
|
1026
|
-
}
|
|
1027
|
-
}
|
|
1028
|
-
},
|
|
1029
|
-
{
|
|
1030
|
-
"kind": "function",
|
|
1031
|
-
"name": "mount",
|
|
1032
|
-
"return": {
|
|
1033
|
-
"type": {
|
|
1034
|
-
"text": "Promise<T>"
|
|
1035
|
-
}
|
|
1036
|
-
},
|
|
1037
|
-
"parameters": [
|
|
1038
|
-
{
|
|
1039
|
-
"name": "template",
|
|
1040
|
-
"type": {
|
|
1041
|
-
"text": "string"
|
|
1042
|
-
}
|
|
1043
|
-
},
|
|
1044
|
-
{
|
|
1045
|
-
"name": "selector",
|
|
1046
|
-
"optional": true,
|
|
1047
|
-
"type": {
|
|
1048
|
-
"text": "string"
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
]
|
|
1052
|
-
},
|
|
1053
|
-
{
|
|
1054
|
-
"kind": "function",
|
|
1055
|
-
"name": "mountWithProps",
|
|
1056
|
-
"return": {
|
|
1057
|
-
"type": {
|
|
1058
|
-
"text": "Promise<T>"
|
|
1059
|
-
}
|
|
1060
|
-
},
|
|
1061
|
-
"parameters": [
|
|
1062
|
-
{
|
|
1063
|
-
"name": "template",
|
|
1064
|
-
"type": {
|
|
1065
|
-
"text": "string"
|
|
1066
|
-
}
|
|
1067
|
-
},
|
|
1068
|
-
{
|
|
1069
|
-
"name": "props",
|
|
1070
|
-
"default": "{}",
|
|
1071
|
-
"type": {
|
|
1072
|
-
"text": "Partial<T>"
|
|
1073
|
-
}
|
|
1074
|
-
},
|
|
1075
|
-
{
|
|
1076
|
-
"name": "selector",
|
|
1077
|
-
"optional": true,
|
|
1078
|
-
"type": {
|
|
1079
|
-
"text": "string"
|
|
1080
|
-
}
|
|
1081
|
-
}
|
|
1082
|
-
]
|
|
1083
|
-
}
|
|
1084
|
-
],
|
|
1085
|
-
"exports": [
|
|
1086
|
-
{
|
|
1087
|
-
"kind": "js",
|
|
1088
|
-
"name": "resetTestDom",
|
|
1089
|
-
"declaration": {
|
|
1090
|
-
"name": "resetTestDom",
|
|
1091
|
-
"module": "src/test-utils/mount.ts"
|
|
1092
|
-
}
|
|
1093
|
-
},
|
|
1094
|
-
{
|
|
1095
|
-
"kind": "js",
|
|
1096
|
-
"name": "mount",
|
|
1097
|
-
"declaration": {
|
|
1098
|
-
"name": "mount",
|
|
1099
|
-
"module": "src/test-utils/mount.ts"
|
|
1100
|
-
}
|
|
1101
|
-
},
|
|
1102
|
-
{
|
|
1103
|
-
"kind": "js",
|
|
1104
|
-
"name": "mountWithProps",
|
|
1105
|
-
"declaration": {
|
|
1106
|
-
"name": "mountWithProps",
|
|
1107
|
-
"module": "src/test-utils/mount.ts"
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1110
|
-
]
|
|
1111
|
-
},
|
|
1112
1112
|
{
|
|
1113
1113
|
"kind": "javascript-module",
|
|
1114
1114
|
"path": "src/atoms/breadcrumb/breadcrumb-item.styles.ts",
|
|
@@ -2457,7 +2457,7 @@
|
|
|
2457
2457
|
{
|
|
2458
2458
|
"kind": "variable",
|
|
2459
2459
|
"name": "iconStyles",
|
|
2460
|
-
"default": "css` :host { display: inline-flex; width: 1em; height: 1em; color: currentColor; vertical-align: middle; flex-shrink: 0; } :host([size='sm']) { width: 0.875em; height: 0.875em; } :host([size='lg']) { width: 1.25em; height: 1.25em; } svg { width: 100%; height: 100%; display: block; } `"
|
|
2460
|
+
"default": "css` :host { display: inline-flex; width: 1em; height: 1em; color: currentColor; vertical-align: middle; flex-shrink: 0; } :host([size='sm']) { width: 0.875em; height: 0.875em; } :host([size='lg']) { width: 1.25em; height: 1.25em; } :host([size='xl']) { width: 1.25rem; height: 1.25rem; } :host([size='2xl']) { width: 1.5rem; height: 1.5rem; } svg { width: 100%; height: 100%; display: block; } `"
|
|
2461
2461
|
}
|
|
2462
2462
|
],
|
|
2463
2463
|
"exports": [
|
|
@@ -7186,198 +7186,522 @@
|
|
|
7186
7186
|
},
|
|
7187
7187
|
{
|
|
7188
7188
|
"kind": "javascript-module",
|
|
7189
|
-
"path": "src/atoms/
|
|
7189
|
+
"path": "src/atoms/text-field/define.ts",
|
|
7190
7190
|
"declarations": [],
|
|
7191
7191
|
"exports": [
|
|
7192
7192
|
{
|
|
7193
7193
|
"kind": "custom-element-definition",
|
|
7194
|
-
"name": "ds-
|
|
7195
|
-
"declaration": {
|
|
7196
|
-
"name": "DsTabs",
|
|
7197
|
-
"module": "/src/atoms/tabs/tabs.js"
|
|
7198
|
-
}
|
|
7199
|
-
},
|
|
7200
|
-
{
|
|
7201
|
-
"kind": "custom-element-definition",
|
|
7202
|
-
"name": "ds-tab",
|
|
7203
|
-
"declaration": {
|
|
7204
|
-
"name": "DsTab",
|
|
7205
|
-
"module": "/src/atoms/tabs/tab.js"
|
|
7206
|
-
}
|
|
7207
|
-
},
|
|
7208
|
-
{
|
|
7209
|
-
"kind": "custom-element-definition",
|
|
7210
|
-
"name": "ds-tab-panel",
|
|
7194
|
+
"name": "ds-text-field",
|
|
7211
7195
|
"declaration": {
|
|
7212
|
-
"name": "
|
|
7213
|
-
"module": "/src/atoms/
|
|
7196
|
+
"name": "DsTextField",
|
|
7197
|
+
"module": "/src/atoms/text-field/text-field.js"
|
|
7214
7198
|
}
|
|
7215
7199
|
}
|
|
7216
7200
|
]
|
|
7217
7201
|
},
|
|
7218
7202
|
{
|
|
7219
7203
|
"kind": "javascript-module",
|
|
7220
|
-
"path": "src/atoms/
|
|
7204
|
+
"path": "src/atoms/text-field/index.ts",
|
|
7221
7205
|
"declarations": [],
|
|
7222
7206
|
"exports": [
|
|
7223
7207
|
{
|
|
7224
7208
|
"kind": "js",
|
|
7225
|
-
"name": "
|
|
7209
|
+
"name": "DsTextField",
|
|
7226
7210
|
"declaration": {
|
|
7227
|
-
"name": "
|
|
7228
|
-
"module": "./
|
|
7211
|
+
"name": "DsTextField",
|
|
7212
|
+
"module": "./text-field.js"
|
|
7229
7213
|
}
|
|
7230
7214
|
},
|
|
7231
7215
|
{
|
|
7232
7216
|
"kind": "js",
|
|
7233
|
-
"name": "
|
|
7217
|
+
"name": "TextFieldType",
|
|
7234
7218
|
"declaration": {
|
|
7235
|
-
"name": "
|
|
7236
|
-
"module": "./
|
|
7219
|
+
"name": "TextFieldType",
|
|
7220
|
+
"module": "./text-field.js"
|
|
7237
7221
|
}
|
|
7238
7222
|
},
|
|
7239
7223
|
{
|
|
7240
7224
|
"kind": "js",
|
|
7241
|
-
"name": "
|
|
7225
|
+
"name": "TextFieldSize",
|
|
7242
7226
|
"declaration": {
|
|
7243
|
-
"name": "
|
|
7244
|
-
"module": "./
|
|
7227
|
+
"name": "TextFieldSize",
|
|
7228
|
+
"module": "./text-field.js"
|
|
7245
7229
|
}
|
|
7246
7230
|
}
|
|
7247
7231
|
]
|
|
7248
7232
|
},
|
|
7249
7233
|
{
|
|
7250
7234
|
"kind": "javascript-module",
|
|
7251
|
-
"path": "src/atoms/
|
|
7235
|
+
"path": "src/atoms/text-field/text-field.styles.ts",
|
|
7252
7236
|
"declarations": [
|
|
7253
7237
|
{
|
|
7254
7238
|
"kind": "variable",
|
|
7255
|
-
"name": "
|
|
7256
|
-
"default": "css` :host { display:
|
|
7239
|
+
"name": "textFieldStyles",
|
|
7240
|
+
"default": "css` :host { display: flex; flex-direction: column; gap: var(--ds-space-1); width: 100%; } .wrap { position: relative; display: flex; align-items: center; width: 100%; height: var(--ds-size-md); padding: 0 var(--ds-space-3); gap: var(--ds-space-2); background: var(--ds-color-bg); border: 1px solid var(--ds-color-border-strong); border-radius: var(--ds-radius-sm); transition: border-color var(--ds-duration-fast) var(--ds-easing-standard), box-shadow var(--ds-duration-fast) var(--ds-easing-standard); } .wrap:hover { border-color: var(--ds-color-fg-subtle); } .wrap:focus-within { border-color: var(--ds-color-accent); box-shadow: var(--ds-shadow-focus); } :host([invalid]) .wrap { border-color: var(--ds-color-danger); background: var(--ds-color-danger-subtle); } :host([invalid]) .wrap:focus-within { box-shadow: 0 0 0 3px rgba(178, 26, 10, 0.3); } :host([disabled]) .wrap { opacity: 0.5; cursor: not-allowed; background: var(--ds-color-bg-subtle); } input { flex: 1; border: none; outline: none; background: transparent; color: var(--ds-color-fg); font-family: var(--ds-font-body); font-size: var(--ds-font-size-sm); line-height: 1.4; padding: 0; min-width: 0; } input::placeholder { color: var(--ds-color-fg-muted); } :host([size='sm']) .wrap { height: var(--ds-size-sm); padding: 0 var(--ds-space-2); } :host([size='lg']) .wrap { height: var(--ds-size-lg); padding: 0 var(--ds-space-4); font-size: var(--ds-font-size-md); } .adornment { display: inline-flex; align-items: center; color: var(--ds-color-fg-muted); font-size: var(--ds-font-size-sm); } .adornment[hidden] { display: none; } `"
|
|
7257
7241
|
}
|
|
7258
7242
|
],
|
|
7259
7243
|
"exports": [
|
|
7260
7244
|
{
|
|
7261
7245
|
"kind": "js",
|
|
7262
|
-
"name": "
|
|
7246
|
+
"name": "textFieldStyles",
|
|
7263
7247
|
"declaration": {
|
|
7264
|
-
"name": "
|
|
7265
|
-
"module": "src/atoms/
|
|
7248
|
+
"name": "textFieldStyles",
|
|
7249
|
+
"module": "src/atoms/text-field/text-field.styles.ts"
|
|
7266
7250
|
}
|
|
7267
7251
|
}
|
|
7268
7252
|
]
|
|
7269
7253
|
},
|
|
7270
7254
|
{
|
|
7271
7255
|
"kind": "javascript-module",
|
|
7272
|
-
"path": "src/atoms/
|
|
7256
|
+
"path": "src/atoms/text-field/text-field.ts",
|
|
7273
7257
|
"declarations": [
|
|
7274
7258
|
{
|
|
7275
7259
|
"kind": "class",
|
|
7276
7260
|
"description": "",
|
|
7277
|
-
"name": "
|
|
7261
|
+
"name": "DsTextField",
|
|
7278
7262
|
"slots": [
|
|
7279
7263
|
{
|
|
7280
|
-
"description": "
|
|
7281
|
-
"name": "
|
|
7282
|
-
}
|
|
7283
|
-
|
|
7264
|
+
"description": "Adornment rendered before the input.",
|
|
7265
|
+
"name": "leading"
|
|
7266
|
+
},
|
|
7267
|
+
{
|
|
7268
|
+
"description": "Adornment rendered after the input.",
|
|
7269
|
+
"name": "trailing"
|
|
7270
|
+
}
|
|
7271
|
+
],
|
|
7284
7272
|
"members": [
|
|
7285
7273
|
{
|
|
7286
7274
|
"kind": "field",
|
|
7287
|
-
"name": "
|
|
7275
|
+
"name": "shadowRootOptions",
|
|
7276
|
+
"type": {
|
|
7277
|
+
"text": "ShadowRootInit"
|
|
7278
|
+
},
|
|
7279
|
+
"static": true,
|
|
7280
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
7281
|
+
},
|
|
7282
|
+
{
|
|
7283
|
+
"kind": "field",
|
|
7284
|
+
"name": "type",
|
|
7285
|
+
"type": {
|
|
7286
|
+
"text": "TextFieldType"
|
|
7287
|
+
},
|
|
7288
|
+
"default": "'text'",
|
|
7289
|
+
"attribute": "type"
|
|
7290
|
+
},
|
|
7291
|
+
{
|
|
7292
|
+
"kind": "field",
|
|
7293
|
+
"name": "size",
|
|
7294
|
+
"type": {
|
|
7295
|
+
"text": "TextFieldSize"
|
|
7296
|
+
},
|
|
7297
|
+
"default": "'md'",
|
|
7298
|
+
"attribute": "size",
|
|
7299
|
+
"reflects": true
|
|
7300
|
+
},
|
|
7301
|
+
{
|
|
7302
|
+
"kind": "field",
|
|
7303
|
+
"name": "placeholder",
|
|
7288
7304
|
"type": {
|
|
7289
7305
|
"text": "string"
|
|
7290
7306
|
},
|
|
7291
7307
|
"default": "''",
|
|
7292
|
-
"attribute": "
|
|
7308
|
+
"attribute": "placeholder"
|
|
7293
7309
|
},
|
|
7294
7310
|
{
|
|
7295
7311
|
"kind": "field",
|
|
7296
|
-
"name": "
|
|
7312
|
+
"name": "readonly",
|
|
7297
7313
|
"type": {
|
|
7298
7314
|
"text": "boolean"
|
|
7299
7315
|
},
|
|
7300
7316
|
"default": "false",
|
|
7301
|
-
"attribute": "
|
|
7317
|
+
"attribute": "readonly",
|
|
7302
7318
|
"reflects": true
|
|
7319
|
+
},
|
|
7320
|
+
{
|
|
7321
|
+
"kind": "field",
|
|
7322
|
+
"name": "minLength",
|
|
7323
|
+
"type": {
|
|
7324
|
+
"text": "number | undefined"
|
|
7325
|
+
},
|
|
7326
|
+
"attribute": "min-length"
|
|
7327
|
+
},
|
|
7328
|
+
{
|
|
7329
|
+
"kind": "field",
|
|
7330
|
+
"name": "maxLength",
|
|
7331
|
+
"type": {
|
|
7332
|
+
"text": "number | undefined"
|
|
7333
|
+
},
|
|
7334
|
+
"attribute": "max-length"
|
|
7335
|
+
},
|
|
7336
|
+
{
|
|
7337
|
+
"kind": "field",
|
|
7338
|
+
"name": "pattern",
|
|
7339
|
+
"type": {
|
|
7340
|
+
"text": "string | undefined"
|
|
7341
|
+
},
|
|
7342
|
+
"attribute": "pattern"
|
|
7343
|
+
},
|
|
7344
|
+
{
|
|
7345
|
+
"kind": "field",
|
|
7346
|
+
"name": "autocomplete",
|
|
7347
|
+
"type": {
|
|
7348
|
+
"text": "string | undefined"
|
|
7349
|
+
},
|
|
7350
|
+
"attribute": "autocomplete"
|
|
7351
|
+
},
|
|
7352
|
+
{
|
|
7353
|
+
"kind": "field",
|
|
7354
|
+
"name": "label",
|
|
7355
|
+
"type": {
|
|
7356
|
+
"text": "string"
|
|
7357
|
+
},
|
|
7358
|
+
"default": "''",
|
|
7359
|
+
"attribute": "label"
|
|
7360
|
+
},
|
|
7361
|
+
{
|
|
7362
|
+
"kind": "field",
|
|
7363
|
+
"name": "inputLabel",
|
|
7364
|
+
"type": {
|
|
7365
|
+
"text": "string"
|
|
7366
|
+
},
|
|
7367
|
+
"default": "''",
|
|
7368
|
+
"attribute": "input-label"
|
|
7369
|
+
},
|
|
7370
|
+
{
|
|
7371
|
+
"kind": "field",
|
|
7372
|
+
"name": "description",
|
|
7373
|
+
"type": {
|
|
7374
|
+
"text": "string"
|
|
7375
|
+
},
|
|
7376
|
+
"default": "''",
|
|
7377
|
+
"attribute": "description"
|
|
7378
|
+
},
|
|
7379
|
+
{
|
|
7380
|
+
"kind": "field",
|
|
7381
|
+
"name": "error",
|
|
7382
|
+
"type": {
|
|
7383
|
+
"text": "string"
|
|
7384
|
+
},
|
|
7385
|
+
"default": "''",
|
|
7386
|
+
"attribute": "error"
|
|
7387
|
+
},
|
|
7388
|
+
{
|
|
7389
|
+
"kind": "field",
|
|
7390
|
+
"name": "invalid",
|
|
7391
|
+
"type": {
|
|
7392
|
+
"text": "boolean"
|
|
7393
|
+
},
|
|
7394
|
+
"default": "false",
|
|
7395
|
+
"attribute": "invalid",
|
|
7396
|
+
"reflects": true
|
|
7397
|
+
},
|
|
7398
|
+
{
|
|
7399
|
+
"kind": "field",
|
|
7400
|
+
"name": "optional",
|
|
7401
|
+
"type": {
|
|
7402
|
+
"text": "boolean"
|
|
7403
|
+
},
|
|
7404
|
+
"default": "false",
|
|
7405
|
+
"attribute": "optional",
|
|
7406
|
+
"reflects": true
|
|
7407
|
+
},
|
|
7408
|
+
{
|
|
7409
|
+
"kind": "field",
|
|
7410
|
+
"name": "_hasLeading",
|
|
7411
|
+
"type": {
|
|
7412
|
+
"text": "boolean"
|
|
7413
|
+
},
|
|
7414
|
+
"privacy": "private",
|
|
7415
|
+
"default": "false"
|
|
7416
|
+
},
|
|
7417
|
+
{
|
|
7418
|
+
"kind": "field",
|
|
7419
|
+
"name": "_hasTrailing",
|
|
7420
|
+
"type": {
|
|
7421
|
+
"text": "boolean"
|
|
7422
|
+
},
|
|
7423
|
+
"privacy": "private",
|
|
7424
|
+
"default": "false"
|
|
7425
|
+
},
|
|
7426
|
+
{
|
|
7427
|
+
"kind": "field",
|
|
7428
|
+
"name": "input",
|
|
7429
|
+
"type": {
|
|
7430
|
+
"text": "HTMLInputElement"
|
|
7431
|
+
},
|
|
7432
|
+
"privacy": "private"
|
|
7433
|
+
},
|
|
7434
|
+
{
|
|
7435
|
+
"kind": "field",
|
|
7436
|
+
"name": "#onLeadingChange",
|
|
7437
|
+
"privacy": "private"
|
|
7438
|
+
},
|
|
7439
|
+
{
|
|
7440
|
+
"kind": "field",
|
|
7441
|
+
"name": "#onTrailingChange",
|
|
7442
|
+
"privacy": "private"
|
|
7443
|
+
},
|
|
7444
|
+
{
|
|
7445
|
+
"kind": "field",
|
|
7446
|
+
"name": "#onInput",
|
|
7447
|
+
"privacy": "private"
|
|
7448
|
+
},
|
|
7449
|
+
{
|
|
7450
|
+
"kind": "field",
|
|
7451
|
+
"name": "#onChange",
|
|
7452
|
+
"privacy": "private"
|
|
7453
|
+
},
|
|
7454
|
+
{
|
|
7455
|
+
"kind": "method",
|
|
7456
|
+
"name": "#syncValidity",
|
|
7457
|
+
"privacy": "private",
|
|
7458
|
+
"return": {
|
|
7459
|
+
"type": {
|
|
7460
|
+
"text": "void"
|
|
7461
|
+
}
|
|
7462
|
+
}
|
|
7463
|
+
}
|
|
7464
|
+
],
|
|
7465
|
+
"events": [
|
|
7466
|
+
{
|
|
7467
|
+
"description": "Fired on every keystroke with the current value.",
|
|
7468
|
+
"name": "ds-input"
|
|
7469
|
+
},
|
|
7470
|
+
{
|
|
7471
|
+
"description": "Fired when the value is committed.",
|
|
7472
|
+
"name": "ds-change"
|
|
7303
7473
|
}
|
|
7304
7474
|
],
|
|
7305
7475
|
"attributes": [
|
|
7306
7476
|
{
|
|
7307
|
-
"name": "
|
|
7477
|
+
"name": "type",
|
|
7478
|
+
"type": {
|
|
7479
|
+
"text": "TextFieldType"
|
|
7480
|
+
},
|
|
7481
|
+
"default": "'text'",
|
|
7482
|
+
"fieldName": "type"
|
|
7483
|
+
},
|
|
7484
|
+
{
|
|
7485
|
+
"name": "size",
|
|
7486
|
+
"type": {
|
|
7487
|
+
"text": "TextFieldSize"
|
|
7488
|
+
},
|
|
7489
|
+
"default": "'md'",
|
|
7490
|
+
"fieldName": "size"
|
|
7491
|
+
},
|
|
7492
|
+
{
|
|
7493
|
+
"name": "placeholder",
|
|
7308
7494
|
"type": {
|
|
7309
7495
|
"text": "string"
|
|
7310
7496
|
},
|
|
7311
7497
|
"default": "''",
|
|
7312
|
-
"fieldName": "
|
|
7498
|
+
"fieldName": "placeholder"
|
|
7313
7499
|
},
|
|
7314
7500
|
{
|
|
7315
|
-
"name": "
|
|
7501
|
+
"name": "readonly",
|
|
7316
7502
|
"type": {
|
|
7317
7503
|
"text": "boolean"
|
|
7318
7504
|
},
|
|
7319
7505
|
"default": "false",
|
|
7320
|
-
"fieldName": "
|
|
7506
|
+
"fieldName": "readonly"
|
|
7507
|
+
},
|
|
7508
|
+
{
|
|
7509
|
+
"name": "min-length",
|
|
7510
|
+
"type": {
|
|
7511
|
+
"text": "number | undefined"
|
|
7512
|
+
},
|
|
7513
|
+
"fieldName": "minLength"
|
|
7514
|
+
},
|
|
7515
|
+
{
|
|
7516
|
+
"name": "max-length",
|
|
7517
|
+
"type": {
|
|
7518
|
+
"text": "number | undefined"
|
|
7519
|
+
},
|
|
7520
|
+
"fieldName": "maxLength"
|
|
7521
|
+
},
|
|
7522
|
+
{
|
|
7523
|
+
"name": "pattern",
|
|
7524
|
+
"type": {
|
|
7525
|
+
"text": "string | undefined"
|
|
7526
|
+
},
|
|
7527
|
+
"fieldName": "pattern"
|
|
7528
|
+
},
|
|
7529
|
+
{
|
|
7530
|
+
"name": "autocomplete",
|
|
7531
|
+
"type": {
|
|
7532
|
+
"text": "string | undefined"
|
|
7533
|
+
},
|
|
7534
|
+
"fieldName": "autocomplete"
|
|
7535
|
+
},
|
|
7536
|
+
{
|
|
7537
|
+
"name": "label",
|
|
7538
|
+
"type": {
|
|
7539
|
+
"text": "string"
|
|
7540
|
+
},
|
|
7541
|
+
"default": "''",
|
|
7542
|
+
"fieldName": "label"
|
|
7543
|
+
},
|
|
7544
|
+
{
|
|
7545
|
+
"name": "input-label",
|
|
7546
|
+
"type": {
|
|
7547
|
+
"text": "string"
|
|
7548
|
+
},
|
|
7549
|
+
"default": "''",
|
|
7550
|
+
"fieldName": "inputLabel"
|
|
7551
|
+
},
|
|
7552
|
+
{
|
|
7553
|
+
"name": "description",
|
|
7554
|
+
"type": {
|
|
7555
|
+
"text": "string"
|
|
7556
|
+
},
|
|
7557
|
+
"default": "''",
|
|
7558
|
+
"fieldName": "description"
|
|
7559
|
+
},
|
|
7560
|
+
{
|
|
7561
|
+
"name": "error",
|
|
7562
|
+
"type": {
|
|
7563
|
+
"text": "string"
|
|
7564
|
+
},
|
|
7565
|
+
"default": "''",
|
|
7566
|
+
"fieldName": "error"
|
|
7567
|
+
},
|
|
7568
|
+
{
|
|
7569
|
+
"name": "invalid",
|
|
7570
|
+
"type": {
|
|
7571
|
+
"text": "boolean"
|
|
7572
|
+
},
|
|
7573
|
+
"default": "false",
|
|
7574
|
+
"fieldName": "invalid"
|
|
7575
|
+
},
|
|
7576
|
+
{
|
|
7577
|
+
"name": "optional",
|
|
7578
|
+
"type": {
|
|
7579
|
+
"text": "boolean"
|
|
7580
|
+
},
|
|
7581
|
+
"default": "false",
|
|
7582
|
+
"fieldName": "optional"
|
|
7583
|
+
}
|
|
7584
|
+
],
|
|
7585
|
+
"mixins": [
|
|
7586
|
+
{
|
|
7587
|
+
"name": "FormControlMixin",
|
|
7588
|
+
"package": "@jsekulowicz/ds-core"
|
|
7321
7589
|
}
|
|
7322
7590
|
],
|
|
7323
7591
|
"superclass": {
|
|
7324
7592
|
"name": "DsElement",
|
|
7325
7593
|
"package": "@jsekulowicz/ds-core"
|
|
7326
7594
|
},
|
|
7327
|
-
"tagName": "ds-
|
|
7595
|
+
"tagName": "ds-text-field",
|
|
7328
7596
|
"customElement": true,
|
|
7329
|
-
"summary": "
|
|
7597
|
+
"summary": "Single-line text input with native form participation via ElementInternals."
|
|
7330
7598
|
}
|
|
7331
7599
|
],
|
|
7332
7600
|
"exports": [
|
|
7601
|
+
{
|
|
7602
|
+
"kind": "js",
|
|
7603
|
+
"name": "DsTextField",
|
|
7604
|
+
"declaration": {
|
|
7605
|
+
"name": "DsTextField",
|
|
7606
|
+
"module": "src/atoms/text-field/text-field.ts"
|
|
7607
|
+
}
|
|
7608
|
+
}
|
|
7609
|
+
]
|
|
7610
|
+
},
|
|
7611
|
+
{
|
|
7612
|
+
"kind": "javascript-module",
|
|
7613
|
+
"path": "src/atoms/tabs/define.ts",
|
|
7614
|
+
"declarations": [],
|
|
7615
|
+
"exports": [
|
|
7616
|
+
{
|
|
7617
|
+
"kind": "custom-element-definition",
|
|
7618
|
+
"name": "ds-tabs",
|
|
7619
|
+
"declaration": {
|
|
7620
|
+
"name": "DsTabs",
|
|
7621
|
+
"module": "/src/atoms/tabs/tabs.js"
|
|
7622
|
+
}
|
|
7623
|
+
},
|
|
7624
|
+
{
|
|
7625
|
+
"kind": "custom-element-definition",
|
|
7626
|
+
"name": "ds-tab",
|
|
7627
|
+
"declaration": {
|
|
7628
|
+
"name": "DsTab",
|
|
7629
|
+
"module": "/src/atoms/tabs/tab.js"
|
|
7630
|
+
}
|
|
7631
|
+
},
|
|
7632
|
+
{
|
|
7633
|
+
"kind": "custom-element-definition",
|
|
7634
|
+
"name": "ds-tab-panel",
|
|
7635
|
+
"declaration": {
|
|
7636
|
+
"name": "DsTabPanel",
|
|
7637
|
+
"module": "/src/atoms/tabs/tab-panel.js"
|
|
7638
|
+
}
|
|
7639
|
+
}
|
|
7640
|
+
]
|
|
7641
|
+
},
|
|
7642
|
+
{
|
|
7643
|
+
"kind": "javascript-module",
|
|
7644
|
+
"path": "src/atoms/tabs/index.ts",
|
|
7645
|
+
"declarations": [],
|
|
7646
|
+
"exports": [
|
|
7647
|
+
{
|
|
7648
|
+
"kind": "js",
|
|
7649
|
+
"name": "DsTabs",
|
|
7650
|
+
"declaration": {
|
|
7651
|
+
"name": "DsTabs",
|
|
7652
|
+
"module": "./tabs.js"
|
|
7653
|
+
}
|
|
7654
|
+
},
|
|
7655
|
+
{
|
|
7656
|
+
"kind": "js",
|
|
7657
|
+
"name": "DsTab",
|
|
7658
|
+
"declaration": {
|
|
7659
|
+
"name": "DsTab",
|
|
7660
|
+
"module": "./tab.js"
|
|
7661
|
+
}
|
|
7662
|
+
},
|
|
7333
7663
|
{
|
|
7334
7664
|
"kind": "js",
|
|
7335
7665
|
"name": "DsTabPanel",
|
|
7336
7666
|
"declaration": {
|
|
7337
7667
|
"name": "DsTabPanel",
|
|
7338
|
-
"module": "
|
|
7668
|
+
"module": "./tab-panel.js"
|
|
7339
7669
|
}
|
|
7340
7670
|
}
|
|
7341
7671
|
]
|
|
7342
7672
|
},
|
|
7343
7673
|
{
|
|
7344
7674
|
"kind": "javascript-module",
|
|
7345
|
-
"path": "src/atoms/tabs/tab.styles.ts",
|
|
7675
|
+
"path": "src/atoms/tabs/tab-panel.styles.ts",
|
|
7346
7676
|
"declarations": [
|
|
7347
7677
|
{
|
|
7348
7678
|
"kind": "variable",
|
|
7349
|
-
"name": "
|
|
7350
|
-
"default": "css` :host { display:
|
|
7679
|
+
"name": "tabPanelStyles",
|
|
7680
|
+
"default": "css` :host { display: block; } :host(:focus-visible) { border-radius: var(--ds-radius-sm); box-shadow: var(--ds-shadow-focus); } `"
|
|
7351
7681
|
}
|
|
7352
7682
|
],
|
|
7353
7683
|
"exports": [
|
|
7354
7684
|
{
|
|
7355
7685
|
"kind": "js",
|
|
7356
|
-
"name": "
|
|
7686
|
+
"name": "tabPanelStyles",
|
|
7357
7687
|
"declaration": {
|
|
7358
|
-
"name": "
|
|
7359
|
-
"module": "src/atoms/tabs/tab.styles.ts"
|
|
7688
|
+
"name": "tabPanelStyles",
|
|
7689
|
+
"module": "src/atoms/tabs/tab-panel.styles.ts"
|
|
7360
7690
|
}
|
|
7361
7691
|
}
|
|
7362
7692
|
]
|
|
7363
7693
|
},
|
|
7364
7694
|
{
|
|
7365
7695
|
"kind": "javascript-module",
|
|
7366
|
-
"path": "src/atoms/tabs/tab.ts",
|
|
7696
|
+
"path": "src/atoms/tabs/tab-panel.ts",
|
|
7367
7697
|
"declarations": [
|
|
7368
7698
|
{
|
|
7369
7699
|
"kind": "class",
|
|
7370
7700
|
"description": "",
|
|
7371
|
-
"name": "
|
|
7372
|
-
"cssParts": [
|
|
7373
|
-
{
|
|
7374
|
-
"description": "The inner tab surface.",
|
|
7375
|
-
"name": "tab"
|
|
7376
|
-
}
|
|
7377
|
-
],
|
|
7701
|
+
"name": "DsTabPanel",
|
|
7378
7702
|
"slots": [
|
|
7379
7703
|
{
|
|
7380
|
-
"description": "
|
|
7704
|
+
"description": "Panel contents, shown only when the panel is active.",
|
|
7381
7705
|
"name": "default"
|
|
7382
7706
|
}
|
|
7383
7707
|
],
|
|
@@ -7393,28 +7717,13 @@
|
|
|
7393
7717
|
},
|
|
7394
7718
|
{
|
|
7395
7719
|
"kind": "field",
|
|
7396
|
-
"name": "
|
|
7397
|
-
"type": {
|
|
7398
|
-
"text": "boolean"
|
|
7399
|
-
},
|
|
7400
|
-
"default": "false",
|
|
7401
|
-
"attribute": "selected",
|
|
7402
|
-
"reflects": true
|
|
7403
|
-
},
|
|
7404
|
-
{
|
|
7405
|
-
"kind": "field",
|
|
7406
|
-
"name": "disabled",
|
|
7720
|
+
"name": "active",
|
|
7407
7721
|
"type": {
|
|
7408
7722
|
"text": "boolean"
|
|
7409
7723
|
},
|
|
7410
7724
|
"default": "false",
|
|
7411
|
-
"attribute": "
|
|
7725
|
+
"attribute": "active",
|
|
7412
7726
|
"reflects": true
|
|
7413
|
-
},
|
|
7414
|
-
{
|
|
7415
|
-
"kind": "field",
|
|
7416
|
-
"name": "#onClick",
|
|
7417
|
-
"privacy": "private"
|
|
7418
7727
|
}
|
|
7419
7728
|
],
|
|
7420
7729
|
"attributes": [
|
|
@@ -7427,88 +7736,72 @@
|
|
|
7427
7736
|
"fieldName": "value"
|
|
7428
7737
|
},
|
|
7429
7738
|
{
|
|
7430
|
-
"name": "
|
|
7431
|
-
"type": {
|
|
7432
|
-
"text": "boolean"
|
|
7433
|
-
},
|
|
7434
|
-
"default": "false",
|
|
7435
|
-
"fieldName": "selected"
|
|
7436
|
-
},
|
|
7437
|
-
{
|
|
7438
|
-
"name": "disabled",
|
|
7739
|
+
"name": "active",
|
|
7439
7740
|
"type": {
|
|
7440
7741
|
"text": "boolean"
|
|
7441
7742
|
},
|
|
7442
7743
|
"default": "false",
|
|
7443
|
-
"fieldName": "
|
|
7744
|
+
"fieldName": "active"
|
|
7444
7745
|
}
|
|
7445
7746
|
],
|
|
7446
7747
|
"superclass": {
|
|
7447
7748
|
"name": "DsElement",
|
|
7448
7749
|
"package": "@jsekulowicz/ds-core"
|
|
7449
7750
|
},
|
|
7450
|
-
"tagName": "ds-tab",
|
|
7751
|
+
"tagName": "ds-tab-panel",
|
|
7451
7752
|
"customElement": true,
|
|
7452
|
-
"summary": "
|
|
7753
|
+
"summary": "Content region associated with a ds-tab."
|
|
7453
7754
|
}
|
|
7454
7755
|
],
|
|
7455
7756
|
"exports": [
|
|
7456
7757
|
{
|
|
7457
7758
|
"kind": "js",
|
|
7458
|
-
"name": "
|
|
7759
|
+
"name": "DsTabPanel",
|
|
7459
7760
|
"declaration": {
|
|
7460
|
-
"name": "
|
|
7461
|
-
"module": "src/atoms/tabs/tab.ts"
|
|
7761
|
+
"name": "DsTabPanel",
|
|
7762
|
+
"module": "src/atoms/tabs/tab-panel.ts"
|
|
7462
7763
|
}
|
|
7463
7764
|
}
|
|
7464
7765
|
]
|
|
7465
7766
|
},
|
|
7466
7767
|
{
|
|
7467
7768
|
"kind": "javascript-module",
|
|
7468
|
-
"path": "src/atoms/tabs/
|
|
7769
|
+
"path": "src/atoms/tabs/tab.styles.ts",
|
|
7469
7770
|
"declarations": [
|
|
7470
7771
|
{
|
|
7471
7772
|
"kind": "variable",
|
|
7472
|
-
"name": "
|
|
7473
|
-
"default": "css` :host { display:
|
|
7773
|
+
"name": "tabStyles",
|
|
7774
|
+
"default": "css` :host { display: inline-flex; } :host([disabled]) { cursor: not-allowed; opacity: 0.5; } .tab { display: inline-flex; align-items: center; gap: var(--ds-space-2); padding: var(--ds-space-3) var(--ds-space-2); color: var(--ds-color-fg-muted); font-family: var(--ds-font-body); font-size: var(--ds-font-size-sm); font-weight: var(--ds-font-weight-medium); line-height: 1; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color var(--ds-duration-fast) var(--ds-easing-standard), border-color var(--ds-duration-fast) var(--ds-easing-standard); user-select: none; white-space: nowrap; } :host(:hover:not([disabled])) .tab { color: var(--ds-color-fg); } :host([selected]) .tab { color: var(--ds-color-accent); border-bottom-color: var(--ds-color-accent); } :host(:focus-visible) .tab { border-radius: var(--ds-radius-sm); box-shadow: var(--ds-shadow-focus); } `"
|
|
7474
7775
|
}
|
|
7475
7776
|
],
|
|
7476
7777
|
"exports": [
|
|
7477
7778
|
{
|
|
7478
7779
|
"kind": "js",
|
|
7479
|
-
"name": "
|
|
7780
|
+
"name": "tabStyles",
|
|
7480
7781
|
"declaration": {
|
|
7481
|
-
"name": "
|
|
7482
|
-
"module": "src/atoms/tabs/
|
|
7782
|
+
"name": "tabStyles",
|
|
7783
|
+
"module": "src/atoms/tabs/tab.styles.ts"
|
|
7483
7784
|
}
|
|
7484
7785
|
}
|
|
7485
7786
|
]
|
|
7486
7787
|
},
|
|
7487
7788
|
{
|
|
7488
7789
|
"kind": "javascript-module",
|
|
7489
|
-
"path": "src/atoms/tabs/
|
|
7790
|
+
"path": "src/atoms/tabs/tab.ts",
|
|
7490
7791
|
"declarations": [
|
|
7491
7792
|
{
|
|
7492
7793
|
"kind": "class",
|
|
7493
7794
|
"description": "",
|
|
7494
|
-
"name": "
|
|
7795
|
+
"name": "DsTab",
|
|
7495
7796
|
"cssParts": [
|
|
7496
7797
|
{
|
|
7497
|
-
"description": "The
|
|
7498
|
-
"name": "
|
|
7499
|
-
},
|
|
7500
|
-
{
|
|
7501
|
-
"description": "The panels container.",
|
|
7502
|
-
"name": "panels"
|
|
7798
|
+
"description": "The inner tab surface.",
|
|
7799
|
+
"name": "tab"
|
|
7503
7800
|
}
|
|
7504
7801
|
],
|
|
7505
7802
|
"slots": [
|
|
7506
7803
|
{
|
|
7507
|
-
"description": "
|
|
7508
|
-
"name": "tab"
|
|
7509
|
-
},
|
|
7510
|
-
{
|
|
7511
|
-
"description": "ds-tab-panel elements, one per tab.",
|
|
7804
|
+
"description": "Tab label content.",
|
|
7512
7805
|
"name": "default"
|
|
7513
7806
|
}
|
|
7514
7807
|
],
|
|
@@ -7524,57 +7817,30 @@
|
|
|
7524
7817
|
},
|
|
7525
7818
|
{
|
|
7526
7819
|
"kind": "field",
|
|
7527
|
-
"name": "
|
|
7820
|
+
"name": "selected",
|
|
7528
7821
|
"type": {
|
|
7529
|
-
"text": "
|
|
7822
|
+
"text": "boolean"
|
|
7530
7823
|
},
|
|
7531
|
-
"
|
|
7824
|
+
"default": "false",
|
|
7825
|
+
"attribute": "selected",
|
|
7826
|
+
"reflects": true
|
|
7532
7827
|
},
|
|
7533
7828
|
{
|
|
7534
7829
|
"kind": "field",
|
|
7535
|
-
"name": "
|
|
7830
|
+
"name": "disabled",
|
|
7536
7831
|
"type": {
|
|
7537
|
-
"text": "
|
|
7832
|
+
"text": "boolean"
|
|
7538
7833
|
},
|
|
7539
|
-
"
|
|
7540
|
-
|
|
7541
|
-
|
|
7542
|
-
"kind": "field",
|
|
7543
|
-
"name": "#onSlotChange",
|
|
7544
|
-
"privacy": "private"
|
|
7545
|
-
},
|
|
7546
|
-
{
|
|
7547
|
-
"kind": "field",
|
|
7548
|
-
"name": "#syncSelection",
|
|
7549
|
-
"privacy": "private"
|
|
7550
|
-
},
|
|
7551
|
-
{
|
|
7552
|
-
"kind": "field",
|
|
7553
|
-
"name": "#onTabActivate",
|
|
7554
|
-
"privacy": "private"
|
|
7555
|
-
},
|
|
7556
|
-
{
|
|
7557
|
-
"kind": "field",
|
|
7558
|
-
"name": "#setValue",
|
|
7559
|
-
"privacy": "private"
|
|
7560
|
-
},
|
|
7561
|
-
{
|
|
7562
|
-
"kind": "field",
|
|
7563
|
-
"name": "#focusTab",
|
|
7564
|
-
"privacy": "private"
|
|
7834
|
+
"default": "false",
|
|
7835
|
+
"attribute": "disabled",
|
|
7836
|
+
"reflects": true
|
|
7565
7837
|
},
|
|
7566
7838
|
{
|
|
7567
7839
|
"kind": "field",
|
|
7568
|
-
"name": "#
|
|
7840
|
+
"name": "#onClick",
|
|
7569
7841
|
"privacy": "private"
|
|
7570
7842
|
}
|
|
7571
7843
|
],
|
|
7572
|
-
"events": [
|
|
7573
|
-
{
|
|
7574
|
-
"description": "Fires when the active tab changes. Detail: `{ value: string }`.",
|
|
7575
|
-
"name": "ds-change"
|
|
7576
|
-
}
|
|
7577
|
-
],
|
|
7578
7844
|
"attributes": [
|
|
7579
7845
|
{
|
|
7580
7846
|
"name": "value",
|
|
@@ -7583,448 +7849,182 @@
|
|
|
7583
7849
|
},
|
|
7584
7850
|
"default": "''",
|
|
7585
7851
|
"fieldName": "value"
|
|
7852
|
+
},
|
|
7853
|
+
{
|
|
7854
|
+
"name": "selected",
|
|
7855
|
+
"type": {
|
|
7856
|
+
"text": "boolean"
|
|
7857
|
+
},
|
|
7858
|
+
"default": "false",
|
|
7859
|
+
"fieldName": "selected"
|
|
7860
|
+
},
|
|
7861
|
+
{
|
|
7862
|
+
"name": "disabled",
|
|
7863
|
+
"type": {
|
|
7864
|
+
"text": "boolean"
|
|
7865
|
+
},
|
|
7866
|
+
"default": "false",
|
|
7867
|
+
"fieldName": "disabled"
|
|
7586
7868
|
}
|
|
7587
7869
|
],
|
|
7588
7870
|
"superclass": {
|
|
7589
7871
|
"name": "DsElement",
|
|
7590
7872
|
"package": "@jsekulowicz/ds-core"
|
|
7591
7873
|
},
|
|
7592
|
-
"tagName": "ds-
|
|
7874
|
+
"tagName": "ds-tab",
|
|
7593
7875
|
"customElement": true,
|
|
7594
|
-
"summary": "
|
|
7876
|
+
"summary": "Individual tab trigger inside a ds-tabs tablist."
|
|
7595
7877
|
}
|
|
7596
7878
|
],
|
|
7597
7879
|
"exports": [
|
|
7598
7880
|
{
|
|
7599
7881
|
"kind": "js",
|
|
7600
|
-
"name": "
|
|
7601
|
-
"declaration": {
|
|
7602
|
-
"name": "DsTabs",
|
|
7603
|
-
"module": "src/atoms/tabs/tabs.ts"
|
|
7604
|
-
}
|
|
7605
|
-
}
|
|
7606
|
-
]
|
|
7607
|
-
},
|
|
7608
|
-
{
|
|
7609
|
-
"kind": "javascript-module",
|
|
7610
|
-
"path": "src/atoms/text-field/define.ts",
|
|
7611
|
-
"declarations": [],
|
|
7612
|
-
"exports": [
|
|
7613
|
-
{
|
|
7614
|
-
"kind": "custom-element-definition",
|
|
7615
|
-
"name": "ds-text-field",
|
|
7616
|
-
"declaration": {
|
|
7617
|
-
"name": "DsTextField",
|
|
7618
|
-
"module": "/src/atoms/text-field/text-field.js"
|
|
7619
|
-
}
|
|
7620
|
-
}
|
|
7621
|
-
]
|
|
7622
|
-
},
|
|
7623
|
-
{
|
|
7624
|
-
"kind": "javascript-module",
|
|
7625
|
-
"path": "src/atoms/text-field/index.ts",
|
|
7626
|
-
"declarations": [],
|
|
7627
|
-
"exports": [
|
|
7628
|
-
{
|
|
7629
|
-
"kind": "js",
|
|
7630
|
-
"name": "DsTextField",
|
|
7631
|
-
"declaration": {
|
|
7632
|
-
"name": "DsTextField",
|
|
7633
|
-
"module": "./text-field.js"
|
|
7634
|
-
}
|
|
7635
|
-
},
|
|
7636
|
-
{
|
|
7637
|
-
"kind": "js",
|
|
7638
|
-
"name": "TextFieldType",
|
|
7639
|
-
"declaration": {
|
|
7640
|
-
"name": "TextFieldType",
|
|
7641
|
-
"module": "./text-field.js"
|
|
7642
|
-
}
|
|
7643
|
-
},
|
|
7644
|
-
{
|
|
7645
|
-
"kind": "js",
|
|
7646
|
-
"name": "TextFieldSize",
|
|
7882
|
+
"name": "DsTab",
|
|
7647
7883
|
"declaration": {
|
|
7648
|
-
"name": "
|
|
7649
|
-
"module": "
|
|
7884
|
+
"name": "DsTab",
|
|
7885
|
+
"module": "src/atoms/tabs/tab.ts"
|
|
7650
7886
|
}
|
|
7651
7887
|
}
|
|
7652
7888
|
]
|
|
7653
7889
|
},
|
|
7654
7890
|
{
|
|
7655
7891
|
"kind": "javascript-module",
|
|
7656
|
-
"path": "src/atoms/
|
|
7892
|
+
"path": "src/atoms/tabs/tabs.styles.ts",
|
|
7657
7893
|
"declarations": [
|
|
7658
7894
|
{
|
|
7659
7895
|
"kind": "variable",
|
|
7660
|
-
"name": "
|
|
7661
|
-
"default": "css` :host { display:
|
|
7896
|
+
"name": "tabsStyles",
|
|
7897
|
+
"default": "css` :host { display: block; width: 100%; } .tablist { display: flex; gap: var(--ds-space-2); border-bottom: 1px solid var(--ds-color-border); padding: 4px 4px 0; margin: -4px -4px 0; } .panels { padding-top: var(--ds-space-4); } `"
|
|
7662
7898
|
}
|
|
7663
7899
|
],
|
|
7664
7900
|
"exports": [
|
|
7665
7901
|
{
|
|
7666
7902
|
"kind": "js",
|
|
7667
|
-
"name": "
|
|
7903
|
+
"name": "tabsStyles",
|
|
7668
7904
|
"declaration": {
|
|
7669
|
-
"name": "
|
|
7670
|
-
"module": "src/atoms/
|
|
7905
|
+
"name": "tabsStyles",
|
|
7906
|
+
"module": "src/atoms/tabs/tabs.styles.ts"
|
|
7671
7907
|
}
|
|
7672
7908
|
}
|
|
7673
7909
|
]
|
|
7674
7910
|
},
|
|
7675
7911
|
{
|
|
7676
7912
|
"kind": "javascript-module",
|
|
7677
|
-
"path": "src/atoms/
|
|
7913
|
+
"path": "src/atoms/tabs/tabs.ts",
|
|
7678
7914
|
"declarations": [
|
|
7679
7915
|
{
|
|
7680
7916
|
"kind": "class",
|
|
7681
7917
|
"description": "",
|
|
7682
|
-
"name": "
|
|
7683
|
-
"
|
|
7684
|
-
{
|
|
7685
|
-
"description": "Adornment rendered before the input.",
|
|
7686
|
-
"name": "leading"
|
|
7687
|
-
},
|
|
7688
|
-
{
|
|
7689
|
-
"description": "Adornment rendered after the input.",
|
|
7690
|
-
"name": "trailing"
|
|
7691
|
-
}
|
|
7692
|
-
],
|
|
7693
|
-
"members": [
|
|
7694
|
-
{
|
|
7695
|
-
"kind": "field",
|
|
7696
|
-
"name": "shadowRootOptions",
|
|
7697
|
-
"type": {
|
|
7698
|
-
"text": "ShadowRootInit"
|
|
7699
|
-
},
|
|
7700
|
-
"static": true,
|
|
7701
|
-
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
7702
|
-
},
|
|
7703
|
-
{
|
|
7704
|
-
"kind": "field",
|
|
7705
|
-
"name": "type",
|
|
7706
|
-
"type": {
|
|
7707
|
-
"text": "TextFieldType"
|
|
7708
|
-
},
|
|
7709
|
-
"default": "'text'",
|
|
7710
|
-
"attribute": "type"
|
|
7711
|
-
},
|
|
7712
|
-
{
|
|
7713
|
-
"kind": "field",
|
|
7714
|
-
"name": "size",
|
|
7715
|
-
"type": {
|
|
7716
|
-
"text": "TextFieldSize"
|
|
7717
|
-
},
|
|
7718
|
-
"default": "'md'",
|
|
7719
|
-
"attribute": "size",
|
|
7720
|
-
"reflects": true
|
|
7721
|
-
},
|
|
7722
|
-
{
|
|
7723
|
-
"kind": "field",
|
|
7724
|
-
"name": "placeholder",
|
|
7725
|
-
"type": {
|
|
7726
|
-
"text": "string"
|
|
7727
|
-
},
|
|
7728
|
-
"default": "''",
|
|
7729
|
-
"attribute": "placeholder"
|
|
7730
|
-
},
|
|
7731
|
-
{
|
|
7732
|
-
"kind": "field",
|
|
7733
|
-
"name": "readonly",
|
|
7734
|
-
"type": {
|
|
7735
|
-
"text": "boolean"
|
|
7736
|
-
},
|
|
7737
|
-
"default": "false",
|
|
7738
|
-
"attribute": "readonly",
|
|
7739
|
-
"reflects": true
|
|
7740
|
-
},
|
|
7741
|
-
{
|
|
7742
|
-
"kind": "field",
|
|
7743
|
-
"name": "minLength",
|
|
7744
|
-
"type": {
|
|
7745
|
-
"text": "number | undefined"
|
|
7746
|
-
},
|
|
7747
|
-
"attribute": "min-length"
|
|
7748
|
-
},
|
|
7749
|
-
{
|
|
7750
|
-
"kind": "field",
|
|
7751
|
-
"name": "maxLength",
|
|
7752
|
-
"type": {
|
|
7753
|
-
"text": "number | undefined"
|
|
7754
|
-
},
|
|
7755
|
-
"attribute": "max-length"
|
|
7756
|
-
},
|
|
7757
|
-
{
|
|
7758
|
-
"kind": "field",
|
|
7759
|
-
"name": "pattern",
|
|
7760
|
-
"type": {
|
|
7761
|
-
"text": "string | undefined"
|
|
7762
|
-
},
|
|
7763
|
-
"attribute": "pattern"
|
|
7764
|
-
},
|
|
7918
|
+
"name": "DsTabs",
|
|
7919
|
+
"cssParts": [
|
|
7765
7920
|
{
|
|
7766
|
-
"
|
|
7767
|
-
"name": "
|
|
7768
|
-
"type": {
|
|
7769
|
-
"text": "string | undefined"
|
|
7770
|
-
},
|
|
7771
|
-
"attribute": "autocomplete"
|
|
7921
|
+
"description": "The horizontal tab row.",
|
|
7922
|
+
"name": "tablist"
|
|
7772
7923
|
},
|
|
7773
7924
|
{
|
|
7774
|
-
"
|
|
7775
|
-
"name": "
|
|
7776
|
-
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
"default": "''",
|
|
7780
|
-
"attribute": "label"
|
|
7781
|
-
},
|
|
7925
|
+
"description": "The panels container.",
|
|
7926
|
+
"name": "panels"
|
|
7927
|
+
}
|
|
7928
|
+
],
|
|
7929
|
+
"slots": [
|
|
7782
7930
|
{
|
|
7783
|
-
"
|
|
7784
|
-
"name": "
|
|
7785
|
-
"type": {
|
|
7786
|
-
"text": "string"
|
|
7787
|
-
},
|
|
7788
|
-
"default": "''",
|
|
7789
|
-
"attribute": "input-label"
|
|
7931
|
+
"description": "ds-tab elements that make up the tablist.",
|
|
7932
|
+
"name": "tab"
|
|
7790
7933
|
},
|
|
7791
7934
|
{
|
|
7792
|
-
"
|
|
7793
|
-
"name": "
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
"default": "''",
|
|
7798
|
-
"attribute": "description"
|
|
7799
|
-
},
|
|
7935
|
+
"description": "ds-tab-panel elements, one per tab.",
|
|
7936
|
+
"name": "default"
|
|
7937
|
+
}
|
|
7938
|
+
],
|
|
7939
|
+
"members": [
|
|
7800
7940
|
{
|
|
7801
7941
|
"kind": "field",
|
|
7802
|
-
"name": "
|
|
7942
|
+
"name": "value",
|
|
7803
7943
|
"type": {
|
|
7804
7944
|
"text": "string"
|
|
7805
7945
|
},
|
|
7806
7946
|
"default": "''",
|
|
7807
|
-
"attribute": "
|
|
7808
|
-
},
|
|
7809
|
-
{
|
|
7810
|
-
"kind": "field",
|
|
7811
|
-
"name": "invalid",
|
|
7812
|
-
"type": {
|
|
7813
|
-
"text": "boolean"
|
|
7814
|
-
},
|
|
7815
|
-
"default": "false",
|
|
7816
|
-
"attribute": "invalid",
|
|
7817
|
-
"reflects": true
|
|
7947
|
+
"attribute": "value"
|
|
7818
7948
|
},
|
|
7819
7949
|
{
|
|
7820
7950
|
"kind": "field",
|
|
7821
|
-
"name": "
|
|
7951
|
+
"name": "_tabs",
|
|
7822
7952
|
"type": {
|
|
7823
|
-
"text": "
|
|
7953
|
+
"text": "DsTab[]"
|
|
7824
7954
|
},
|
|
7825
|
-
"
|
|
7826
|
-
"attribute": "optional",
|
|
7827
|
-
"reflects": true
|
|
7955
|
+
"privacy": "private"
|
|
7828
7956
|
},
|
|
7829
7957
|
{
|
|
7830
7958
|
"kind": "field",
|
|
7831
|
-
"name": "
|
|
7959
|
+
"name": "_panels",
|
|
7832
7960
|
"type": {
|
|
7833
|
-
"text": "
|
|
7961
|
+
"text": "DsTabPanel[]"
|
|
7834
7962
|
},
|
|
7835
|
-
"privacy": "private"
|
|
7836
|
-
"default": "false"
|
|
7963
|
+
"privacy": "private"
|
|
7837
7964
|
},
|
|
7838
7965
|
{
|
|
7839
7966
|
"kind": "field",
|
|
7840
|
-
"name": "
|
|
7841
|
-
"
|
|
7842
|
-
"text": "boolean"
|
|
7843
|
-
},
|
|
7844
|
-
"privacy": "private",
|
|
7845
|
-
"default": "false"
|
|
7967
|
+
"name": "#onSlotChange",
|
|
7968
|
+
"privacy": "private"
|
|
7846
7969
|
},
|
|
7847
7970
|
{
|
|
7848
7971
|
"kind": "field",
|
|
7849
|
-
"name": "
|
|
7850
|
-
"type": {
|
|
7851
|
-
"text": "HTMLInputElement"
|
|
7852
|
-
},
|
|
7972
|
+
"name": "#syncSelection",
|
|
7853
7973
|
"privacy": "private"
|
|
7854
7974
|
},
|
|
7855
7975
|
{
|
|
7856
7976
|
"kind": "field",
|
|
7857
|
-
"name": "#
|
|
7977
|
+
"name": "#onTabActivate",
|
|
7858
7978
|
"privacy": "private"
|
|
7859
7979
|
},
|
|
7860
7980
|
{
|
|
7861
7981
|
"kind": "field",
|
|
7862
|
-
"name": "#
|
|
7982
|
+
"name": "#setValue",
|
|
7863
7983
|
"privacy": "private"
|
|
7864
7984
|
},
|
|
7865
7985
|
{
|
|
7866
7986
|
"kind": "field",
|
|
7867
|
-
"name": "#
|
|
7987
|
+
"name": "#focusTab",
|
|
7868
7988
|
"privacy": "private"
|
|
7869
7989
|
},
|
|
7870
7990
|
{
|
|
7871
7991
|
"kind": "field",
|
|
7872
|
-
"name": "#
|
|
7992
|
+
"name": "#onKeydown",
|
|
7873
7993
|
"privacy": "private"
|
|
7874
|
-
},
|
|
7875
|
-
{
|
|
7876
|
-
"kind": "method",
|
|
7877
|
-
"name": "#syncValidity",
|
|
7878
|
-
"privacy": "private",
|
|
7879
|
-
"return": {
|
|
7880
|
-
"type": {
|
|
7881
|
-
"text": "void"
|
|
7882
|
-
}
|
|
7883
|
-
}
|
|
7884
7994
|
}
|
|
7885
7995
|
],
|
|
7886
7996
|
"events": [
|
|
7887
7997
|
{
|
|
7888
|
-
"description": "
|
|
7889
|
-
"name": "ds-input"
|
|
7890
|
-
},
|
|
7891
|
-
{
|
|
7892
|
-
"description": "Fired when the value is committed.",
|
|
7998
|
+
"description": "Fires when the active tab changes. Detail: `{ value: string }`.",
|
|
7893
7999
|
"name": "ds-change"
|
|
7894
8000
|
}
|
|
7895
8001
|
],
|
|
7896
8002
|
"attributes": [
|
|
7897
8003
|
{
|
|
7898
|
-
"name": "
|
|
7899
|
-
"type": {
|
|
7900
|
-
"text": "TextFieldType"
|
|
7901
|
-
},
|
|
7902
|
-
"default": "'text'",
|
|
7903
|
-
"fieldName": "type"
|
|
7904
|
-
},
|
|
7905
|
-
{
|
|
7906
|
-
"name": "size",
|
|
7907
|
-
"type": {
|
|
7908
|
-
"text": "TextFieldSize"
|
|
7909
|
-
},
|
|
7910
|
-
"default": "'md'",
|
|
7911
|
-
"fieldName": "size"
|
|
7912
|
-
},
|
|
7913
|
-
{
|
|
7914
|
-
"name": "placeholder",
|
|
7915
|
-
"type": {
|
|
7916
|
-
"text": "string"
|
|
7917
|
-
},
|
|
7918
|
-
"default": "''",
|
|
7919
|
-
"fieldName": "placeholder"
|
|
7920
|
-
},
|
|
7921
|
-
{
|
|
7922
|
-
"name": "readonly",
|
|
7923
|
-
"type": {
|
|
7924
|
-
"text": "boolean"
|
|
7925
|
-
},
|
|
7926
|
-
"default": "false",
|
|
7927
|
-
"fieldName": "readonly"
|
|
7928
|
-
},
|
|
7929
|
-
{
|
|
7930
|
-
"name": "min-length",
|
|
7931
|
-
"type": {
|
|
7932
|
-
"text": "number | undefined"
|
|
7933
|
-
},
|
|
7934
|
-
"fieldName": "minLength"
|
|
7935
|
-
},
|
|
7936
|
-
{
|
|
7937
|
-
"name": "max-length",
|
|
7938
|
-
"type": {
|
|
7939
|
-
"text": "number | undefined"
|
|
7940
|
-
},
|
|
7941
|
-
"fieldName": "maxLength"
|
|
7942
|
-
},
|
|
7943
|
-
{
|
|
7944
|
-
"name": "pattern",
|
|
7945
|
-
"type": {
|
|
7946
|
-
"text": "string | undefined"
|
|
7947
|
-
},
|
|
7948
|
-
"fieldName": "pattern"
|
|
7949
|
-
},
|
|
7950
|
-
{
|
|
7951
|
-
"name": "autocomplete",
|
|
7952
|
-
"type": {
|
|
7953
|
-
"text": "string | undefined"
|
|
7954
|
-
},
|
|
7955
|
-
"fieldName": "autocomplete"
|
|
7956
|
-
},
|
|
7957
|
-
{
|
|
7958
|
-
"name": "label",
|
|
7959
|
-
"type": {
|
|
7960
|
-
"text": "string"
|
|
7961
|
-
},
|
|
7962
|
-
"default": "''",
|
|
7963
|
-
"fieldName": "label"
|
|
7964
|
-
},
|
|
7965
|
-
{
|
|
7966
|
-
"name": "input-label",
|
|
7967
|
-
"type": {
|
|
7968
|
-
"text": "string"
|
|
7969
|
-
},
|
|
7970
|
-
"default": "''",
|
|
7971
|
-
"fieldName": "inputLabel"
|
|
7972
|
-
},
|
|
7973
|
-
{
|
|
7974
|
-
"name": "description",
|
|
7975
|
-
"type": {
|
|
7976
|
-
"text": "string"
|
|
7977
|
-
},
|
|
7978
|
-
"default": "''",
|
|
7979
|
-
"fieldName": "description"
|
|
7980
|
-
},
|
|
7981
|
-
{
|
|
7982
|
-
"name": "error",
|
|
8004
|
+
"name": "value",
|
|
7983
8005
|
"type": {
|
|
7984
8006
|
"text": "string"
|
|
7985
8007
|
},
|
|
7986
8008
|
"default": "''",
|
|
7987
|
-
"fieldName": "
|
|
7988
|
-
},
|
|
7989
|
-
{
|
|
7990
|
-
"name": "invalid",
|
|
7991
|
-
"type": {
|
|
7992
|
-
"text": "boolean"
|
|
7993
|
-
},
|
|
7994
|
-
"default": "false",
|
|
7995
|
-
"fieldName": "invalid"
|
|
7996
|
-
},
|
|
7997
|
-
{
|
|
7998
|
-
"name": "optional",
|
|
7999
|
-
"type": {
|
|
8000
|
-
"text": "boolean"
|
|
8001
|
-
},
|
|
8002
|
-
"default": "false",
|
|
8003
|
-
"fieldName": "optional"
|
|
8004
|
-
}
|
|
8005
|
-
],
|
|
8006
|
-
"mixins": [
|
|
8007
|
-
{
|
|
8008
|
-
"name": "FormControlMixin",
|
|
8009
|
-
"package": "@jsekulowicz/ds-core"
|
|
8009
|
+
"fieldName": "value"
|
|
8010
8010
|
}
|
|
8011
8011
|
],
|
|
8012
8012
|
"superclass": {
|
|
8013
8013
|
"name": "DsElement",
|
|
8014
8014
|
"package": "@jsekulowicz/ds-core"
|
|
8015
8015
|
},
|
|
8016
|
-
"tagName": "ds-
|
|
8016
|
+
"tagName": "ds-tabs",
|
|
8017
8017
|
"customElement": true,
|
|
8018
|
-
"summary": "
|
|
8018
|
+
"summary": "Tablist container that coordinates ds-tab triggers and ds-tab-panel regions."
|
|
8019
8019
|
}
|
|
8020
8020
|
],
|
|
8021
8021
|
"exports": [
|
|
8022
8022
|
{
|
|
8023
8023
|
"kind": "js",
|
|
8024
|
-
"name": "
|
|
8024
|
+
"name": "DsTabs",
|
|
8025
8025
|
"declaration": {
|
|
8026
|
-
"name": "
|
|
8027
|
-
"module": "src/atoms/
|
|
8026
|
+
"name": "DsTabs",
|
|
8027
|
+
"module": "src/atoms/tabs/tabs.ts"
|
|
8028
8028
|
}
|
|
8029
8029
|
}
|
|
8030
8030
|
]
|
|
@@ -12965,7 +12965,7 @@
|
|
|
12965
12965
|
{
|
|
12966
12966
|
"kind": "variable",
|
|
12967
12967
|
"name": "footerStyles",
|
|
12968
|
-
"default": "css` :host { display: block; container-type: inline-size; } footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: var(--ds-space-4); padding: var(--ds-space-2) var(--ds-space-5); border-top: 1px solid var(--ds-color-border); color: var(--ds-color-fg-muted); font-family: var(--ds-font-body); font-size: var(--ds-font-size-sm); } .start, .middle, .end { display: flex; align-items: center; gap: var(--ds-space-3); min-width: 0; } .end { justify-content: flex-end; } @container (max-width: ${mobileBreakpoint}) { footer { gap: var(--ds-space-2);
|
|
12968
|
+
"default": "css` :host { display: block; container-type: inline-size; } footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: var(--ds-space-4); padding: var(--ds-space-2) var(--ds-space-5); border-top: 1px solid var(--ds-color-border); color: var(--ds-color-fg-muted); font-family: var(--ds-font-body); font-size: var(--ds-font-size-sm); } .start, .middle, .end { display: flex; align-items: center; gap: var(--ds-space-3); min-width: 0; } .end { justify-content: flex-end; } @container (max-width: ${mobileBreakpoint}) { footer { gap: var(--ds-space-2); font-size: var(--ds-font-size-xs); } .start, .middle, .end { gap: var(--ds-space-2); } } @media (max-width: ${belowDesktopBreakpoint}) { footer { padding-inline: var(--ds-space-4); } } `"
|
|
12969
12969
|
}
|
|
12970
12970
|
],
|
|
12971
12971
|
"exports": [
|
|
@@ -13296,7 +13296,7 @@
|
|
|
13296
13296
|
{
|
|
13297
13297
|
"kind": "variable",
|
|
13298
13298
|
"name": "navbarStyles",
|
|
13299
|
-
"default": "css` :host { display: block; container-type: inline-size; } nav { position: relative; display: flex; align-items: center; gap: var(--ds-space-4); padding: var(--ds-space-3) var(--ds-space-
|
|
13299
|
+
"default": "css` :host { display: block; container-type: inline-size; } nav { position: relative; display: flex; align-items: center; gap: var(--ds-space-4); padding: var(--ds-space-3) var(--ds-space-5); background: var(--ds-color-bg); border-bottom: 1px solid var(--ds-color-border); font-family: var(--ds-font-body); } .brand { display: flex; align-items: center; gap: var(--ds-space-2); font-family: var(--ds-font-display); font-size: var(--ds-font-size-lg); color: var(--ds-color-fg); } .links { display: flex; align-items: center; gap: var(--ds-space-3); flex: 1; } .actions { display: flex; align-items: center; gap: var(--ds-space-2); } .toggle { display: none; align-items: center; justify-content: center; border: 1px solid var(--ds-color-border); background: transparent; border-radius: var(--ds-radius-sm); color: var(--ds-color-fg); cursor: pointer; padding: var(--ds-space-2); } .toggle:focus-visible { box-shadow: var(--ds-shadow-focus); } .menu { display: contents; } @container (max-width: ${tabletBreakpoint}) { .links { justify-content: flex-end; flex: 0 0 auto; margin-left: auto; } .toggle { display: inline-flex; } .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: var(--ds-space-1); padding: var(--ds-space-3); background: var(--ds-color-bg); border-bottom: 1px solid var(--ds-color-border); box-shadow: var(--ds-shadow-md); z-index: 10; } :host([data-open]) .menu { display: flex; } } @media (max-width: ${belowDesktopBreakpoint}) { nav { padding-inline: var(--ds-space-4); } } `"
|
|
13300
13300
|
}
|
|
13301
13301
|
],
|
|
13302
13302
|
"exports": [
|
|
@@ -13861,7 +13861,7 @@
|
|
|
13861
13861
|
{
|
|
13862
13862
|
"kind": "variable",
|
|
13863
13863
|
"name": "pageShellStyles",
|
|
13864
|
-
"default": "css` :host { --ds-page-shell-max-width: 90rem; display: flex; flex-direction: column; position: relative; min-height: 100vh; overflow-x: clip; background: var(--ds-color-bg); color: var(--ds-color-fg); font-family: var(--ds-font-body); } header { border-bottom: 1px solid var(--ds-color-border); padding: var(--ds-space-2) 0; position: sticky; top: 0; background: color-mix(in oklab, var(--ds-color-bg) 92%, transparent); backdrop-filter: blur(12px); z-index: var(--ds-z-index-sticky); } footer { display: block; } .shell-inner { width: 100%; max-width: var(--ds-page-shell-max-width); margin-inline: auto; padding-inline: var(--ds-space-5); } .shell-inner--header { display: flex; align-items: center; justify-content: space-between; gap: var(--ds-space-3); } .shell-body { flex: 1; width: 100%; max-width: var(--ds-page-shell-max-width); margin-inline: auto; display: grid; grid-template-columns: auto 1fr; min-height: 0; } :host([aside-empty]) .shell-body { grid-template-columns: 1fr; } aside { display: flex; overflow-x: clip; overflow-y: auto; min-height: 0; scrollbar-color: var(--ds-color-fg-subtle) transparent; scrollbar-width: thin; scrollbar-gutter:
|
|
13864
|
+
"default": "css` :host { --ds-page-shell-max-width: 90rem; display: flex; flex-direction: column; position: relative; min-height: 100vh; overflow-x: clip; background: var(--ds-color-bg); color: var(--ds-color-fg); font-family: var(--ds-font-body); } header { border-bottom: 1px solid var(--ds-color-border); padding: var(--ds-space-2) 0; position: sticky; top: 0; background: color-mix(in oklab, var(--ds-color-bg) 92%, transparent); backdrop-filter: blur(12px); z-index: var(--ds-z-index-sticky); } footer { display: block; } .shell-inner { width: 100%; max-width: var(--ds-page-shell-max-width); margin-inline: auto; padding-inline: var(--ds-space-5); } .shell-inner--header { display: flex; align-items: center; justify-content: space-between; gap: var(--ds-space-3); } .shell-body { flex: 1; width: 100%; max-width: var(--ds-page-shell-max-width); margin-inline: auto; display: grid; grid-template-columns: auto 1fr auto; min-height: 0; } :host([aside-empty]) .shell-body { grid-template-columns: 1fr auto; } :host([aside-end-empty]) .shell-body { grid-template-columns: auto 1fr; } :host([aside-empty][aside-end-empty]) .shell-body { grid-template-columns: 1fr; } aside { display: flex; overflow-x: clip; overflow-y: auto; min-height: 0; scrollbar-color: var(--ds-color-fg-subtle) transparent; scrollbar-width: thin; /* No scrollbar-gutter reservation: the aside sits flush with its column edge so the consumer's <main> solely owns the gap. The scrollbar appears on demand when the aside genuinely overflows. */ } :host([aside-empty]) aside[part=\"aside\"], :host([aside-empty]) .mobile-backdrop { display: none; } :host([aside-end-empty]) aside[part=\"aside-end\"] { display: none; } main { padding: var(--ds-space-5); overflow: auto; min-width: 0; min-height: 0; scrollbar-color: var(--ds-color-fg-subtle) transparent; scrollbar-width: thin; /* Reserve scrollbar gutters on both inline sides so the horizontal content position stays symmetric whether the vertical scrollbar is present or not. Without this, an overflowing main has its content pushed inward on the inline-end side only (asymmetric margins). */ scrollbar-gutter: stable both-edges; } @media (max-width: ${belowDesktopBreakpoint}) { .shell-inner { padding-inline: var(--ds-space-4); } main { padding: var(--ds-space-4) var(--ds-space-2); } } .brand { font-family: var(--ds-font-display); font-size: var(--ds-font-size-lg); letter-spacing: var(--ds-letter-spacing-display); } .menu-toggle { display: inline-flex; } .mobile-backdrop { display: none; } .drawer-header { display: none; } .drawer-close { display: none; } .menu-toggle::part(button), .drawer-close::part(button) { min-width: var(--ds-size-sm); width: var(--ds-size-sm); padding: 0; } :host(:not([mobile-layout])) .menu-toggle { display: none; } :host([mobile-layout]) .shell-body { grid-template-columns: 1fr; } :host([mobile-layout]) aside[part=\"aside-end\"] { /* Secondary inline-end region is not surfaced in the mobile drawer in v1. Consumers can opt back in by overriding via ::part(aside-end). */ display: none; } :host([mobile-layout]) .brand { flex: 1; } :host([mobile-layout]) aside[part=\"aside\"] { position: absolute; top: 0; left: 0; width: 16rem; display: flex; flex-direction: column; height: 100%; background: var(--ds-color-bg); border-right: 0; z-index: var(--ds-z-index-modal); transform: translateX(-100%); transition: transform var(--ds-duration-slow) var(--ds-easing-standard); scrollbar-gutter: auto; overflow: hidden; box-sizing: border-box; } :host([mobile-layout][data-mobile-nav-open]) aside[part=\"aside\"] { transform: translateX(0); } :host([mobile-layout]) .drawer-header { display: flex; align-items: center; padding: var(--ds-space-2) var(--ds-space-2) 0; } :host([mobile-layout]) .drawer-close { display: inline-flex; margin: 0; } :host([mobile-layout]) aside[part=\"aside\"] ::slotted(ds-sidenav) { width: 100% !important; max-width: 100% !important; flex: 1 1 auto; min-width: 0; min-height: 0; height: auto !important; } :host([mobile-layout][data-mobile-nav-open]) .mobile-backdrop { display: block; position: absolute; inset: 0; border: 0; margin: 0; padding: 0; background: color-mix(in oklab, var(--ds-color-fg) 26%, transparent); z-index: var(--ds-z-index-overlay); } `"
|
|
13865
13865
|
}
|
|
13866
13866
|
],
|
|
13867
13867
|
"exports": [
|
|
@@ -13899,9 +13899,13 @@
|
|
|
13899
13899
|
"name": "header-actions"
|
|
13900
13900
|
},
|
|
13901
13901
|
{
|
|
13902
|
-
"description": "
|
|
13902
|
+
"description": "Primary side navigation (inline-start). When empty, the column and hamburger toggle are not rendered.",
|
|
13903
13903
|
"name": "aside"
|
|
13904
13904
|
},
|
|
13905
|
+
{
|
|
13906
|
+
"description": "Secondary side region (inline-end), e.g. table of contents, contextual help. Hidden on mobile.",
|
|
13907
|
+
"name": "aside-end"
|
|
13908
|
+
},
|
|
13905
13909
|
{
|
|
13906
13910
|
"description": "Main content.",
|
|
13907
13911
|
"name": "default"
|
|
@@ -13930,6 +13934,15 @@
|
|
|
13930
13934
|
"default": "'Navigation menu'",
|
|
13931
13935
|
"attribute": "menu-label"
|
|
13932
13936
|
},
|
|
13937
|
+
{
|
|
13938
|
+
"kind": "field",
|
|
13939
|
+
"name": "endLabel",
|
|
13940
|
+
"type": {
|
|
13941
|
+
"text": "string"
|
|
13942
|
+
},
|
|
13943
|
+
"default": "'Secondary navigation'",
|
|
13944
|
+
"attribute": "end-label"
|
|
13945
|
+
},
|
|
13933
13946
|
{
|
|
13934
13947
|
"kind": "field",
|
|
13935
13948
|
"name": "_mobileNavOpen",
|
|
@@ -13948,6 +13961,15 @@
|
|
|
13948
13961
|
"privacy": "private",
|
|
13949
13962
|
"default": "false"
|
|
13950
13963
|
},
|
|
13964
|
+
{
|
|
13965
|
+
"kind": "field",
|
|
13966
|
+
"name": "_hasAsideEnd",
|
|
13967
|
+
"type": {
|
|
13968
|
+
"text": "boolean"
|
|
13969
|
+
},
|
|
13970
|
+
"privacy": "private",
|
|
13971
|
+
"default": "false"
|
|
13972
|
+
},
|
|
13951
13973
|
{
|
|
13952
13974
|
"kind": "field",
|
|
13953
13975
|
"name": "_hasFooter",
|
|
@@ -14015,6 +14037,11 @@
|
|
|
14015
14037
|
"name": "#onAsideSlotChange",
|
|
14016
14038
|
"privacy": "private"
|
|
14017
14039
|
},
|
|
14040
|
+
{
|
|
14041
|
+
"kind": "field",
|
|
14042
|
+
"name": "#onAsideEndSlotChange",
|
|
14043
|
+
"privacy": "private"
|
|
14044
|
+
},
|
|
14018
14045
|
{
|
|
14019
14046
|
"kind": "field",
|
|
14020
14047
|
"name": "#onFooterSlotChange",
|
|
@@ -14037,6 +14064,14 @@
|
|
|
14037
14064
|
},
|
|
14038
14065
|
"default": "'Navigation menu'",
|
|
14039
14066
|
"fieldName": "menuLabel"
|
|
14067
|
+
},
|
|
14068
|
+
{
|
|
14069
|
+
"name": "end-label",
|
|
14070
|
+
"type": {
|
|
14071
|
+
"text": "string"
|
|
14072
|
+
},
|
|
14073
|
+
"default": "'Secondary navigation'",
|
|
14074
|
+
"fieldName": "endLabel"
|
|
14040
14075
|
}
|
|
14041
14076
|
],
|
|
14042
14077
|
"superclass": {
|