@vonage/vivid-react 2.10.59 → 2.10.61
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/VwcAccordion/package.json +1 -1
- package/VwcActionGroup/package.json +1 -1
- package/VwcBadge/package.json +1 -1
- package/VwcBanner/package.json +1 -1
- package/VwcButton/package.json +1 -1
- package/VwcButtonToggleGroup/package.json +1 -1
- package/VwcCalendar/package.json +1 -1
- package/VwcCalendarEvent/package.json +1 -1
- package/VwcCard/package.json +1 -1
- package/VwcCarousel/package.json +1 -1
- package/VwcCarouselItem/package.json +1 -1
- package/VwcCheckListItem/package.json +1 -1
- package/VwcCheckbox/package.json +1 -1
- package/VwcChip/package.json +1 -1
- package/VwcChipSet/package.json +1 -1
- package/VwcCircularProgress/package.json +1 -1
- package/VwcDataGrid/package.json +1 -1
- package/VwcDataGridColumn/package.json +1 -1
- package/VwcDatepicker/package.json +1 -1
- package/VwcDialog/package.json +1 -1
- package/VwcDrawer/package.json +1 -1
- package/VwcDropdown/package.json +1 -1
- package/VwcElevation/package.json +1 -1
- package/VwcEmptyState/package.json +1 -1
- package/VwcExpansionPanel/package.json +1 -1
- package/VwcFab/package.json +1 -1
- package/VwcFilePicker/package.json +1 -1
- package/VwcFormfield/package.json +1 -1
- package/VwcHelperMessage/package.json +1 -1
- package/VwcIcon/package.json +1 -1
- package/VwcIconButton/package.json +1 -1
- package/VwcIconButtonToggle/package.json +1 -1
- package/VwcKeypad/package.json +1 -1
- package/VwcLayout/package.json +1 -1
- package/VwcLinearProgress/package.json +1 -1
- package/VwcList/package.json +1 -1
- package/VwcListExpansionPanel/package.json +1 -1
- package/VwcListItem/package.json +1 -1
- package/VwcMenu/package.json +1 -1
- package/VwcNotchedOutline/package.json +1 -1
- package/VwcNote/package.json +1 -1
- package/VwcPagination/package.json +1 -1
- package/VwcPopup/package.json +1 -1
- package/VwcRadio/package.json +1 -1
- package/VwcRadioListItem/package.json +1 -1
- package/VwcSchemeSelect/package.json +1 -1
- package/VwcSelect/package.json +1 -1
- package/VwcSideDrawer/package.json +1 -1
- package/VwcSlider/package.json +1 -1
- package/VwcSnackbar/package.json +1 -1
- package/VwcSurface/package.json +1 -1
- package/VwcSwitch/package.json +1 -1
- package/VwcTab/package.json +1 -1
- package/VwcTabBar/package.json +1 -1
- package/VwcTag/package.json +1 -1
- package/VwcText/package.json +1 -1
- package/VwcTextarea/package.json +1 -1
- package/VwcTextfield/package.json +1 -1
- package/VwcThemeSwitch/package.json +1 -1
- package/VwcTooltip/package.json +1 -1
- package/VwcTopAppBar/package.json +1 -1
- package/VwcTopAppBarFixed/package.json +1 -1
- package/index.js +3 -0
- package/package.json +1 -1
- package/v3/VwcAccordion/index.d.ts +1 -0
- package/v3/VwcAccordionItem/index.d.ts +1 -0
- package/v3/VwcActionGroup/index.d.ts +1 -0
- package/v3/VwcAlert/index.d.ts +1 -0
- package/v3/VwcAvatar/index.d.ts +1 -0
- package/v3/VwcBadge/index.d.ts +1 -0
- package/v3/VwcBanner/index.d.ts +1 -0
- package/v3/VwcBreadcrumb/index.d.ts +1 -0
- package/v3/VwcBreadcrumbItem/index.d.ts +1 -0
- package/v3/VwcButton/index.d.ts +1 -0
- package/v3/VwcCalendar/index.d.ts +1 -0
- package/v3/VwcCalendarEvent/index.d.ts +1 -0
- package/v3/VwcCard/index.d.ts +1 -0
- package/v3/VwcCheckbox/index.d.ts +1 -0
- package/v3/VwcCombobox/index.d.ts +1 -0
- package/v3/VwcDataGrid/index.d.ts +1 -0
- package/v3/VwcDataGridCell/index.d.ts +1 -0
- package/v3/VwcDataGridRow/index.d.ts +1 -0
- package/v3/VwcDialog/index.d.ts +1 -0
- package/v3/VwcDivider/index.d.ts +1 -0
- package/v3/VwcElevation/index.d.ts +1 -0
- package/v3/VwcEmptyState/index.d.ts +1 -0
- package/v3/VwcFab/index.d.ts +1 -0
- package/v3/VwcFocus/index.d.ts +1 -0
- package/v3/VwcHeader/index.d.ts +1 -0
- package/v3/VwcIcon/index.d.ts +1 -0
- package/v3/VwcLayout/index.d.ts +1 -0
- package/v3/VwcListbox/index.d.ts +1 -0
- package/v3/VwcListboxOption/index.d.ts +1 -0
- package/v3/VwcMenu/index.d.ts +1 -0
- package/v3/VwcMenuItem/index.d.ts +1 -0
- package/v3/VwcNav/index.d.ts +1 -0
- package/v3/VwcNavDisclosure/index.d.ts +1 -0
- package/v3/VwcNavItem/index.d.ts +1 -0
- package/v3/VwcNote/index.d.ts +1 -0
- package/v3/VwcNumberField/index.d.ts +1 -0
- package/v3/VwcPagination/index.d.ts +1 -0
- package/v3/VwcPopup/index.d.ts +1 -0
- package/v3/VwcProgress/index.d.ts +1 -0
- package/v3/VwcProgressRing/index.d.ts +1 -0
- package/v3/VwcRadio/index.d.ts +1 -0
- package/v3/VwcRadioGroup/index.d.ts +1 -0
- package/v3/VwcSelect/index.d.ts +1 -0
- package/v3/VwcSideDrawer/index.d.ts +1 -0
- package/v3/VwcSlider/index.d.ts +1 -0
- package/v3/VwcSwitch/index.d.ts +1 -0
- package/v3/VwcTab/index.d.ts +1 -0
- package/v3/VwcTabPanel/index.d.ts +1 -0
- package/v3/VwcTabs/index.d.ts +1 -0
- package/v3/VwcTag/index.d.ts +1 -0
- package/v3/VwcTagGroup/index.d.ts +1 -0
- package/v3/VwcTextAnchor/index.d.ts +1 -0
- package/v3/VwcTextArea/index.d.ts +1 -0
- package/v3/VwcTextField/index.d.ts +1 -0
- package/v3/VwcToggletip/index.d.ts +1 -0
- package/v3/VwcTooltip/index.d.ts +1 -0
- package/v3/VwcTreeItem/index.d.ts +1 -0
- package/v3/VwcTreeView/index.d.ts +1 -0
package/VwcBadge/package.json
CHANGED
package/VwcBanner/package.json
CHANGED
package/VwcButton/package.json
CHANGED
package/VwcCalendar/package.json
CHANGED
package/VwcCard/package.json
CHANGED
package/VwcCarousel/package.json
CHANGED
package/VwcCheckbox/package.json
CHANGED
package/VwcChip/package.json
CHANGED
package/VwcChipSet/package.json
CHANGED
package/VwcDataGrid/package.json
CHANGED
package/VwcDialog/package.json
CHANGED
package/VwcDrawer/package.json
CHANGED
package/VwcDropdown/package.json
CHANGED
package/VwcFab/package.json
CHANGED
package/VwcIcon/package.json
CHANGED
package/VwcKeypad/package.json
CHANGED
package/VwcLayout/package.json
CHANGED
package/VwcList/package.json
CHANGED
package/VwcListItem/package.json
CHANGED
package/VwcMenu/package.json
CHANGED
package/VwcNote/package.json
CHANGED
package/VwcPopup/package.json
CHANGED
package/VwcRadio/package.json
CHANGED
package/VwcSelect/package.json
CHANGED
package/VwcSlider/package.json
CHANGED
package/VwcSnackbar/package.json
CHANGED
package/VwcSurface/package.json
CHANGED
package/VwcSwitch/package.json
CHANGED
package/VwcTab/package.json
CHANGED
package/VwcTabBar/package.json
CHANGED
package/VwcTag/package.json
CHANGED
package/VwcText/package.json
CHANGED
package/VwcTextarea/package.json
CHANGED
package/VwcTooltip/package.json
CHANGED
package/index.js
CHANGED
|
@@ -73,6 +73,9 @@ var initVivid = function initVivid(target, callback, options) {
|
|
|
73
73
|
target.setAttribute("".concat(vividDataAttributePrefix, "-v3"), vividVersion.v3);
|
|
74
74
|
target = undefined;
|
|
75
75
|
}
|
|
76
|
+
if (!options.theme) {
|
|
77
|
+
options.theme = 'light';
|
|
78
|
+
}
|
|
76
79
|
var appendStyle = appendStyleElement();
|
|
77
80
|
appendStyle(coreStyles);
|
|
78
81
|
appendStyle(options.theme === 'light' ? lightThemeStyles : darkThemeStyles);
|
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
/** Base class for accordion
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/accordion
|
|
3
4
|
* @param {AccordionExpandMode} expandmode - Controls the expand mode of the Accordion, either allowing
|
|
4
5
|
single or multiple item expansion.
|
|
5
6
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
/** VwcAccordionItem
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/accordion-item
|
|
3
4
|
* @param {string | undefined} heading **attribute** `heading`
|
|
4
5
|
* @param {boolean} noIndicator - Indicates whether the accordion-item has indicator **attribute** `no-indicator`
|
|
5
6
|
* @param {string | undefined} meta **attribute** `meta`
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
/** Base class for action-group
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/action-group
|
|
3
4
|
* @param {ActionGroupShape | undefined} shape - The shape the ActionGroup should have. **attribute** `shape`
|
|
4
5
|
* @param {ActionGroupAppearance | undefined} appearance - The appearance the ActionGroup should have. **attribute** `appearance`
|
|
5
6
|
* @param {boolean} tight - Indicates whether action group should have padding. **attribute** `tight`
|
package/v3/VwcAlert/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
/** Base class for alert
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/alert
|
|
3
4
|
* @param {boolean} removable - if the alert is removable
|
|
4
5
|
accepts boolean **attribute** `removable`
|
|
5
6
|
* @param {AlertPlacement | undefined} placement - the placement of the alert **attribute** `placement`
|