@jblehm/super-list 1.0.21 → 1.0.25
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/README.md +1 -1
- package/dist/ListInputComponents/ItemList.vue.d.ts +5 -13
- package/dist/ListInputComponents/ListButton.vue.d.ts +5 -11
- package/dist/ListInputComponents/ListItem.vue.d.ts +1 -3
- package/dist/index.css +1 -1
- package/dist/super-list.js +177 -175
- package/dist/super-list.js.map +1 -0
- package/dist/super-list.umd.cjs +3 -0
- package/dist/super-list.umd.cjs.map +1 -0
- package/package.json +17 -16
package/README.md
CHANGED
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
};
|
|
6
|
-
refs: {
|
|
7
|
-
dropDownButtonContainer: HTMLDivElement;
|
|
8
|
-
listContainerRef: HTMLDivElement;
|
|
9
|
-
dropDownListUL: HTMLUListElement;
|
|
10
|
-
};
|
|
11
|
-
attrs: Partial<{}>;
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
12
5
|
};
|
|
13
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
6
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
7
|
mouseHoveringOnList: {
|
|
16
8
|
type: BooleanConstructor;
|
|
@@ -123,9 +115,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
123
115
|
totalOptionsCount: number;
|
|
124
116
|
enableScrollClose: boolean;
|
|
125
117
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
126
|
-
declare const _default:
|
|
118
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
127
119
|
export default _default;
|
|
128
|
-
type
|
|
120
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
129
121
|
new (): {
|
|
130
122
|
$slots: S;
|
|
131
123
|
};
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
2
|
declare function blurInput(): void;
|
|
3
3
|
declare function focusInput(): void;
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
8
|
-
refs: {
|
|
9
|
-
buttonRef: HTMLButtonElement;
|
|
10
|
-
};
|
|
11
|
-
attrs: Partial<{}>;
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
12
7
|
};
|
|
13
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
8
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
9
|
parentMethods: {
|
|
16
10
|
type: ObjectConstructor;
|
|
@@ -60,9 +54,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
60
54
|
}>> & Readonly<{}>, {
|
|
61
55
|
customIcon: object | Function | null;
|
|
62
56
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
63
|
-
declare const _default:
|
|
57
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
64
58
|
export default _default;
|
|
65
|
-
type
|
|
59
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
66
60
|
new (): {
|
|
67
61
|
$slots: S;
|
|
68
62
|
};
|
|
@@ -72,7 +72,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
72
72
|
selectedIndex: number;
|
|
73
73
|
listElementOpenAndVisible: boolean;
|
|
74
74
|
totalOptionsCount: number;
|
|
75
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
76
|
-
items: HTMLLIElement;
|
|
77
|
-
}, any>;
|
|
75
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
78
76
|
export default _default;
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.list-filter-text-input[data-v-
|
|
1
|
+
.list-filter-text-input[data-v-5cd54d87]{color:var(--superlist-text-colour, rgb(17, 24, 39));text-align:center;padding:.125rem 2rem .125rem .5rem!important;width:100%;height:100%;margin:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background-color:transparent;border:0 none;pointer-events:auto;cursor:text}.list-filter-text-input[data-v-5cd54d87]:focus,.list-filter-text-input[data-v-5cd54d87]:focus-visible,.list-filter-text-input[data-v-5cd54d87]:active{text-align:left}.click-through[data-v-5cd54d87]{pointer-events:none}.dark-placeholder-text[data-v-5cd54d87]::placeholder{color:var(--superlist-text-colour, rgb(17, 24, 39))}.light-placeholder-text[data-v-5cd54d87]::placeholder{color:var(--superlist-disabled-text-colour, rgb(120, 125, 130))}.text-filter-disabled[data-v-5cd54d87]{background-color:transparent;border:none;outline:none;box-shadow:none;filter:none}@media (min-width: 640px){.list-filter-text-input[data-v-5cd54d87]{font-size:.875rem;line-height:1.5rem}}.list-option[data-v-e4eeb2f7]{text-transform:capitalize;display:inline-flex;width:100%;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:transparent;color:var(--superlist-text-colour, rgb(55, 60, 65));transition-property:font-weight,background-color,color,text-shadow;transition-duration:.5s;transition-timing-function:ease;font-weight:400;text-shadow:1px 1px 3px var(--superlist-background-colour, white)}.list-option[data-v-e4eeb2f7]:focus-visible,.list-option>span[data-v-e4eeb2f7]:focus-visible{outline:none}.list-option-selected[data-v-e4eeb2f7]{font-weight:600}.list-option-message[data-v-e4eeb2f7]{text-shadow:1px 1px 3px var(--superlist-background-colour, white);text-transform:capitalize;display:inline-flex;width:100%;position:relative;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:transparent;color:var(--superlist-disabled-text-colour, rgb(120, 125, 130))}.list-option-active[data-v-e4eeb2f7]:hover,.list-option-active[data-v-e4eeb2f7],.list-option-selected[data-v-e4eeb2f7]:hover,.list-option[data-v-e4eeb2f7]:hover{font-weight:600;background-color:var(--superlist-theme-colour, rgb(77, 168, 11, .8));color:var(--superlist-background-colour, white);text-shadow:1px 1px 3px var(--superlist-theme-colour, rgb(77, 168, 11, .8));transition-duration:0s!important}.list-item-icon[data-v-e4eeb2f7]{display:flex;height:1rem;width:1rem;position:absolute;right:.7rem;margin-top:-.1rem;align-self:center}.list-item-span[data-v-e4eeb2f7]{padding:.5rem 1.75rem .5rem .75rem;width:100%;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-normal[data-v-fdca8800]{top:var(--parent-y)}.list-reverse[data-v-fdca8800]{bottom:var(--parent-y)}.select-list[data-v-fdca8800]{--parent-width: var(--2a14c112);--parent-x: var(--042fa144);--parent-y: var(--042fa505);--duration: var(--e090ee34);--border-radius: var(--superlist-list-border-radius, 0);border-radius:var(--border-radius);width:var(--parent-width);min-width:var(--parent-width);left:var(--parent-x);display:block;transition-property:max-height,opacity,visibility;transition-duration:var(--duration, .3s);transition-timing-function:cubic-bezier(.1,.9,.35,.98);position:absolute;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);background-color:#ffffffb3;align-items:baseline;opacity:.25;z-index:999;visibility:collapse;overflow:auto;max-height:0;border:none!important}.select-list[data-v-fdca8800]:focus-visible,.select-list>ul[data-v-fdca8800]:focus-visible,.super-list-button-container[data-v-fdca8800]:focus-visible{outline:none}.super-list-button-container[data-v-fdca8800]{height:100%;width:100%}.select-list.select-list-open[data-v-fdca8800]{z-index:999999;--max-height: var(--6e261aff);max-height:var(--max-height, 0)}.select-list.no-scroll[data-v-fdca8800]{overflow:hidden}.select-list-fixed[data-v-fdca8800]{position:fixed;opacity:1;visibility:visible}.list-content[data-v-fdca8800]{--duration: var(--e090ee34);overflow:visible;margin:0;padding:0;border-style:none;color:var(--superlist-text-colour, rgb(55, 60, 65));list-style:none;max-width:100%}.select-list.select-list-scrollable[data-v-fdca8800]{border-radius:var(--border-radius)}@media (min-width: 640px){.select-list.select-list-scrollable[data-v-fdca8800]{border-radius:var(--border-radius) 0 0 var(--border-radius)}.list-content[data-v-fdca8800]{font-size:.875rem;line-height:1.25rem}}.list-button-icon[data-v-01ef8e37]{display:flex;transition-timing-function:ease-in-out;transition-duration:.2s;transition-property:transform;width:.6rem;transform:rotate(0);color:var(--superlist-text-colour, rgb(17, 24, 39));justify-content:center;max-height:18%}.list-button-icon.custom-icon[data-v-01ef8e37]{max-height:100%;width:1.25rem}.list-button-icon.rotate-180[data-v-01ef8e37]{transform:rotate(180deg)}.list-button[data-v-01ef8e37]{position:relative;padding:0;margin:0;width:100%;max-height:100%;height:100%;background-color:var(--superlist-background-colour, white);align-items:center;pointer-events:auto;cursor:pointer}.list-button[data-v-01ef8e37]:focus,.list-button[data-v-01ef8e37]:focus-visible,.list-button[data-v-01ef8e37]:active{text-align:left}.list-button-icon-div[data-v-01ef8e37]{pointer-events:none;position:absolute;top:0;bottom:0;right:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-right:.75rem;max-height:100%;height:100%;gap:max(.15rem,calc(6.25% + .075rem));transition:gap .2s}.list-button-icon-div.bigger-gap[data-v-01ef8e37]{gap:calc(40% - .25rem)}.click-through[data-v-01ef8e37]{pointer-events:none}[data-v-e1f079fa]{box-sizing:border-box}
|