@bigbinary/neeto-playwright-commons 7.0.1 → 7.0.2-beta1
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/index.d.ts +7 -7
- package/index.js +7 -7
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -6134,23 +6134,23 @@ declare const COMMON_SELECTORS: {
|
|
|
6134
6134
|
slider: string;
|
|
6135
6135
|
card: string;
|
|
6136
6136
|
hotkeyDescription: string;
|
|
6137
|
+
errorImage: string;
|
|
6137
6138
|
columnVisibilityBtn: (action: "hide-all" | "reset") => string;
|
|
6138
|
-
customSwitch: (switchLabel
|
|
6139
|
-
customMenuItem: (label
|
|
6139
|
+
customSwitch: (switchLabel?: string) => string;
|
|
6140
|
+
customMenuItem: (label?: string) => string;
|
|
6140
6141
|
customInputLabel: (name?: string) => string;
|
|
6141
6142
|
customInputField: (name?: string) => string;
|
|
6142
|
-
customSelectContainer: (name
|
|
6143
|
-
customSelectContainerWrapper: (label
|
|
6143
|
+
customSelectContainer: (name?: string) => string;
|
|
6144
|
+
customSelectContainerWrapper: (label?: string) => string;
|
|
6144
6145
|
customSelectValueContainer: (label?: string) => string;
|
|
6145
|
-
customCheckboxLabel: (name
|
|
6146
|
-
errorImage: string;
|
|
6146
|
+
customCheckboxLabel: (name?: string) => string;
|
|
6147
6147
|
customDropdownIcon: (label?: string) => string;
|
|
6148
6148
|
customDropdownContainer: (label?: string) => string;
|
|
6149
|
+
customDropDownMenu: (label?: string) => string;
|
|
6149
6150
|
checkboxInput: (option?: string) => string;
|
|
6150
6151
|
radioInput: (option?: string) => string;
|
|
6151
6152
|
selectOptionError: (option: string) => string;
|
|
6152
6153
|
button: (label: string) => string;
|
|
6153
|
-
customDropDownMenu: (label?: string) => string;
|
|
6154
6154
|
columnSortableItem: string;
|
|
6155
6155
|
columnsDropdownIcon: string;
|
|
6156
6156
|
columnDragHandle: string;
|
package/index.js
CHANGED
|
@@ -813,23 +813,23 @@ const COMMON_SELECTORS = {
|
|
|
813
813
|
slider: '[data-slot="slider"]',
|
|
814
814
|
card: "neeto-molecules-card",
|
|
815
815
|
hotkeyDescription: "hotkey-description",
|
|
816
|
+
errorImage: "error-image",
|
|
816
817
|
columnVisibilityBtn: (action) => `column-visibility-${action}-button`,
|
|
817
|
-
customSwitch: (switchLabel) => `${hyphenate(switchLabel)}-switch`,
|
|
818
|
-
customMenuItem: (label) => `${hyphenate(label)}-menu-item`,
|
|
818
|
+
customSwitch: (switchLabel = "nui") => `${hyphenate(switchLabel)}-switch`,
|
|
819
|
+
customMenuItem: (label = "nui") => `${hyphenate(label)}-menu-item`,
|
|
819
820
|
customInputLabel: (name = "nui") => `${hyphenate(name)}-input-label`,
|
|
820
821
|
customInputField: (name = "nui") => `${hyphenate(name)}-input-field`,
|
|
821
|
-
customSelectContainer: (name) => `${hyphenate(name)}-select-container`,
|
|
822
|
-
customSelectContainerWrapper: (label) => `${hyphenate(label)}-select-container-wrapper`,
|
|
822
|
+
customSelectContainer: (name = "nui") => `${hyphenate(name)}-select-container`,
|
|
823
|
+
customSelectContainerWrapper: (label = "nui") => `${hyphenate(label)}-select-container-wrapper`,
|
|
823
824
|
customSelectValueContainer: (label = "nui") => `${hyphenate(label)}-select-value-container`,
|
|
824
|
-
customCheckboxLabel: (name) => `${hyphenate(name)}-checkbox-label`,
|
|
825
|
-
errorImage: "error-image",
|
|
825
|
+
customCheckboxLabel: (name = "nui") => `${hyphenate(name)}-checkbox-label`,
|
|
826
826
|
customDropdownIcon: (label = "nui") => `${hyphenate(label)}-dropdown-icon`,
|
|
827
827
|
customDropdownContainer: (label = "nui") => `${hyphenate(label)}-dropdown-container`,
|
|
828
|
+
customDropDownMenu: (label = "nui") => `${hyphenate(label)}-select-menu`,
|
|
828
829
|
checkboxInput: (option = "i-agree") => `${hyphenate(option)}-checkbox-input`,
|
|
829
830
|
radioInput: (option = "i-agree") => `${hyphenate(option)}-radio-input`,
|
|
830
831
|
selectOptionError: (option) => `${hyphenate(option)}-select-error`,
|
|
831
832
|
button: (label) => `${hyphenate(label)}-button`,
|
|
832
|
-
customDropDownMenu: (label = "nui") => `${hyphenate(label)}-select-menu`,
|
|
833
833
|
columnSortableItem: "column-sortable-item",
|
|
834
834
|
columnsDropdownIcon: "columns-dropdown-icon",
|
|
835
835
|
columnDragHandle: "column-drag-handle",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-playwright-commons",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2-beta1",
|
|
4
4
|
"description": "A package encapsulating common playwright code across neeto projects.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-playwright-commons.git",
|
|
6
6
|
"license": "apache-2.0",
|
|
@@ -102,4 +102,4 @@
|
|
|
102
102
|
"proper-lockfile": "4.1.2",
|
|
103
103
|
"puppeteer-extra-plugin-stealth": "2.11.2"
|
|
104
104
|
}
|
|
105
|
-
}
|
|
105
|
+
}
|