@genesislcap/foundation-ui 14.127.0 → 14.127.2
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/dist/custom-elements.json +1069 -1055
- package/dist/dts/accordion-item/accordion-item.styles.d.ts.map +1 -1
- package/dist/dts/date-picker/date-picker.d.ts +1 -0
- package/dist/dts/date-picker/date-picker.d.ts.map +1 -1
- package/dist/dts/date-picker/date-picker.styles.d.ts.map +1 -1
- package/dist/dts/date-picker/date-picker.template.d.ts.map +1 -1
- package/dist/dts/multiselect/multiselect.styles.d.ts.map +1 -1
- package/dist/esm/accordion-item/accordion-item.js +5 -5
- package/dist/esm/accordion-item/accordion-item.styles.js +2 -0
- package/dist/esm/date-picker/date-picker.js +3 -0
- package/dist/esm/date-picker/date-picker.styles.js +8 -0
- package/dist/esm/date-picker/date-picker.template.js +1 -0
- package/dist/esm/multiselect/multiselect.styles.js +6 -1
- package/dist/esm/multiselect/multiselect.template.js +12 -12
- package/package.json +10 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion-item.styles.d.ts","sourceRoot":"","sources":["../../../src/accordion-item/accordion-item.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,6BAA6B,YAC/B,wBAAwB,cACrB,2BAA2B,KACtC,
|
|
1
|
+
{"version":3,"file":"accordion-item.styles.d.ts","sourceRoot":"","sources":["../../../src/accordion-item/accordion-item.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,6BAA6B,YAC/B,wBAAwB,cACrB,2BAA2B,KACtC,aAcF,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.styles.d.ts","sourceRoot":"","sources":["../../../src/date-picker/date-picker.styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,eAAO,MAAM,0BAA0B,EAAE,
|
|
1
|
+
{"version":3,"file":"date-picker.styles.d.ts","sourceRoot":"","sources":["../../../src/date-picker/date-picker.styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,eAAO,MAAM,0BAA0B,EAAE,aA+IxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.template.d.ts","sourceRoot":"","sources":["../../../src/date-picker/date-picker.template.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,qBAAqB,WAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"date-picker.template.d.ts","sourceRoot":"","sources":["../../../src/date-picker/date-picker.template.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,qBAAqB,WAAY,MAAM,oEA0CnD,CAAC;AAEF,eAAO,MAAM,4BAA4B,iEAExC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multiselect.styles.d.ts","sourceRoot":"","sources":["../../../src/multiselect/multiselect.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,MAAM,CAAC;AAE7B,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"multiselect.styles.d.ts","sourceRoot":"","sources":["../../../src/multiselect/multiselect.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,MAAM,CAAC;AAE7B,eAAO,MAAM,iBAAiB,iDAuK7B,CAAC"}
|
|
@@ -11,14 +11,14 @@ export const foundationAccordionItemShadowOptions = {
|
|
|
11
11
|
mode: 'open',
|
|
12
12
|
};
|
|
13
13
|
export const defaultAccordionItemConfig = {
|
|
14
|
-
collapsedIcon: `<svg width="
|
|
14
|
+
collapsedIcon: `<svg width="16" height="16" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" slot="collapsed-icon">
|
|
15
15
|
<path d="M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
16
|
-
<path d="M9 5.44446V12.5556" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
17
|
-
<path d="M5.44446 9H12.5556" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
16
|
+
<path class="plus-sign" d="M9 5.44446V12.5556" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
17
|
+
<path class="plus-sign" d="M5.44446 9H12.5556" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
18
18
|
</svg>`,
|
|
19
|
-
expandedIcon: `<svg width="
|
|
19
|
+
expandedIcon: `<svg width="16" height="16" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" slot="expanded-icon">
|
|
20
20
|
<path d="M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
21
|
-
<path d="M5.44446 9H12.5556" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
21
|
+
<path class="minus-sign" d="M5.44446 9H12.5556" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
22
22
|
</svg>`,
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
@@ -6,10 +6,12 @@ export const foundationAccordionItemStyles = (context, definition) => css `
|
|
|
6
6
|
slot[name='collapsed-icon'] {
|
|
7
7
|
display: flex;
|
|
8
8
|
stroke: var(--accent-foreground-rest);
|
|
9
|
+
fill: none;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
slot[name='expanded-icon'] {
|
|
12
13
|
display: none;
|
|
13
14
|
stroke: var(--accent-foreground-rest);
|
|
15
|
+
fill: none;
|
|
14
16
|
}
|
|
15
17
|
`;
|
|
@@ -8,6 +8,10 @@ export const foundationDatePickerStyles = css `
|
|
|
8
8
|
cursor: pointer;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
.date-toggle::part(label) {
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
}
|
|
14
|
+
|
|
11
15
|
.calendar-dropdown {
|
|
12
16
|
display: none;
|
|
13
17
|
width: 300px;
|
|
@@ -134,4 +138,8 @@ export const foundationDatePickerStyles = css `
|
|
|
134
138
|
background: var(--neutral-stroke-hover);
|
|
135
139
|
color: (--neutral-foreground-rest);
|
|
136
140
|
}
|
|
141
|
+
|
|
142
|
+
.date-toggle[readonly] .label {
|
|
143
|
+
cursor: pointer;
|
|
144
|
+
}
|
|
137
145
|
`;
|
|
@@ -3,6 +3,7 @@ import { ref, repeat } from '@microsoft/fast-element';
|
|
|
3
3
|
import { getPrefix } from '../utils/dom';
|
|
4
4
|
export const getPrefixedDatePicker = (prefix) => html `
|
|
5
5
|
<${prefix}-text-field data-test-id="date-picker" readonly :value="${(x) => x.formatDate}" part="date-toggle" class="date-toggle" ${ref('toggleButton')}>
|
|
6
|
+
${(x) => x.label}
|
|
6
7
|
<div class="input-icon-container" part="input-icon-container" slot="end"><${prefix}-icon variant="regular" name="calendar-alt" size="sm"></${prefix}-icon></div>
|
|
7
8
|
</${prefix}-text-field>
|
|
8
9
|
<div class="calendar-dropdown ${(x) => x.calendarDropdownClasses} ${(x) => x.position}">
|
|
@@ -47,11 +47,16 @@ export const multiselectStyles = css `
|
|
|
47
47
|
pointer-events: none;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
.indicator {
|
|
51
51
|
position: absolute;
|
|
52
52
|
left: calc(100% - 26px);
|
|
53
53
|
padding: 0;
|
|
54
54
|
cursor: pointer;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
#arrow-icon {
|
|
58
|
+
width: 16px;
|
|
59
|
+
fill: white;
|
|
55
60
|
transform: rotate(0deg);
|
|
56
61
|
transition: transform 0.2s linear 0s;
|
|
57
62
|
}
|
|
@@ -20,18 +20,18 @@ export const getPrefixedMultiselect = (prefix = 'foundation') => html `
|
|
|
20
20
|
</label>
|
|
21
21
|
<div class="root" part="root">
|
|
22
22
|
<div class="control" part="control">
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
23
|
+
<div part="indicator" class="indicator" @click=${(x) => !x.disabled && x.toggle()}>
|
|
24
|
+
<svg
|
|
25
|
+
viewBox="0 0 12 7"
|
|
26
|
+
${ref('arrowIcon')}
|
|
27
|
+
id="arrow-icon"
|
|
28
|
+
class="${(x) => classNames(['disabled-svg', x.disabled])}"
|
|
29
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
30
|
+
>
|
|
31
|
+
<path d="${ARROW_SVG_PATH}" />
|
|
32
|
+
</svg>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
35
|
<input
|
|
36
36
|
part="input"
|
|
37
37
|
readonly
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-ui",
|
|
3
3
|
"description": "Genesis Foundation UI",
|
|
4
|
-
"version": "14.127.
|
|
4
|
+
"version": "14.127.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"test:debug": "genx test --debug"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@genesislcap/foundation-testing": "14.127.
|
|
78
|
-
"@genesislcap/genx": "14.127.
|
|
77
|
+
"@genesislcap/foundation-testing": "14.127.2",
|
|
78
|
+
"@genesislcap/genx": "14.127.2",
|
|
79
79
|
"copyfiles": "^2.4.1",
|
|
80
80
|
"rimraf": "^3.0.2",
|
|
81
81
|
"rxjs": "^7.5.4"
|
|
@@ -86,12 +86,12 @@
|
|
|
86
86
|
"@fortawesome/free-regular-svg-icons": "^6.2.1",
|
|
87
87
|
"@fortawesome/free-solid-svg-icons": "^6.2.1",
|
|
88
88
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^4.0.0",
|
|
89
|
-
"@genesislcap/foundation-comms": "14.127.
|
|
90
|
-
"@genesislcap/foundation-criteria": "14.127.
|
|
91
|
-
"@genesislcap/foundation-errors": "14.127.
|
|
92
|
-
"@genesislcap/foundation-logger": "14.127.
|
|
93
|
-
"@genesislcap/foundation-notifications": "14.127.
|
|
94
|
-
"@genesislcap/foundation-utils": "14.127.
|
|
89
|
+
"@genesislcap/foundation-comms": "14.127.2",
|
|
90
|
+
"@genesislcap/foundation-criteria": "14.127.2",
|
|
91
|
+
"@genesislcap/foundation-errors": "14.127.2",
|
|
92
|
+
"@genesislcap/foundation-logger": "14.127.2",
|
|
93
|
+
"@genesislcap/foundation-notifications": "14.127.2",
|
|
94
|
+
"@genesislcap/foundation-utils": "14.127.2",
|
|
95
95
|
"@microsoft/fast-colors": "^5.3.1",
|
|
96
96
|
"@microsoft/fast-components": "^2.30.6",
|
|
97
97
|
"@microsoft/fast-element": "^1.12.0",
|
|
@@ -113,5 +113,5 @@
|
|
|
113
113
|
"access": "public"
|
|
114
114
|
},
|
|
115
115
|
"customElements": "dist/custom-elements.json",
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "80ea1376a014bd79ecb63f650a1f2472d2fe1fd4"
|
|
117
117
|
}
|