playbook_ui 13.33.0.pre.alpha.PLAY14143305 → 13.33.0.pre.alpha.PLAY14143312
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_advanced_table/Components/CustomCell.tsx +3 -1
- data/app/pb_kits/playbook/pb_advanced_table/Components/SortIconButton.tsx +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/Components/SubRowHeaderRow.tsx +2 -1
- data/app/pb_kits/playbook/pb_advanced_table/Components/TableHeaderCell.tsx +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/Components/ToggleIconButton.tsx +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/SubKits/TableBody.tsx +1 -1
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleIcon.tsx +1 -2
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.tsx +3 -4
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_footer.tsx +3 -1
- data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_header.tsx +2 -2
- data/app/pb_kits/playbook/pb_dropdown/subcomponents/DropdownContainer.tsx +4 -1
- data/app/pb_kits/playbook/pb_dropdown/subcomponents/DropdownOption.tsx +3 -2
- data/app/pb_kits/playbook/pb_dropdown/subcomponents/DropdownTrigger.tsx +5 -2
- data/app/pb_kits/playbook/pb_filter/Filter/CurrentFilters.tsx +3 -1
- data/app/pb_kits/playbook/pb_filter/Filter/FilterBackground.tsx +2 -1
- data/app/pb_kits/playbook/pb_filter/Filter/FilterDouble.tsx +3 -1
- data/app/pb_kits/playbook/pb_filter/Filter/FilterSingle.tsx +1 -1
- data/app/pb_kits/playbook/pb_filter/Filter/FiltersPopover.tsx +3 -1
- data/app/pb_kits/playbook/pb_filter/Filter/ResultsCount.tsx +2 -1
- data/app/pb_kits/playbook/pb_filter/Filter/SortMenu.tsx +5 -1
- data/app/pb_kits/playbook/pb_lightbox/Carousel/Slide.tsx +1 -1
- data/app/pb_kits/playbook/pb_lightbox/Carousel/Slides.tsx +1 -1
- data/app/pb_kits/playbook/pb_lightbox/Carousel/Thumbnail.tsx +1 -1
- data/app/pb_kits/playbook/pb_lightbox/Header/_lightbox_header.tsx +6 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/EditorButton.tsx +5 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/MoreExtensionsDropdown.tsx +5 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/Toolbar.tsx +4 -2
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarDropdown.tsx +6 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarHistory.tsx +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.tsx +7 -8
- data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor.test.js +1 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor_advanced.test.js +2 -1
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.test.jsx +1 -1
- data/app/pb_kits/playbook/pb_typeahead/components/Control.tsx +2 -1
- data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.tsx +2 -1
- data/app/pb_kits/playbook/pb_typeahead/components/Option.tsx +1 -1
- data/app/pb_kits/playbook/pb_typeahead/components/Placeholder.tsx +2 -1
- data/app/pb_kits/playbook/tokens/exports/exports.d.ts +1 -0
- data/dist/chunks/_typeahead.js +22 -0
- data/dist/chunks/_weekday_stacked.js +45 -1
- data/dist/chunks/lazysizes.js +1 -0
- data/dist/chunks/vendor.js +1 -1
- data/dist/playbook-doc.js +1 -1
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +4 -3
- data/dist/chunks/_walkthrough.js +0 -66
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e0ec858e48a23db2f65ce9adc3e9ea73672441254de598f04dabe1110b1c9ed
|
4
|
+
data.tar.gz: d79a3c3a07992fa489f37d795e46f7a5251b20442018c8c774cdf2d4cc209bb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c7eb00dd898d2ccde7f471c27afa8c07b0a73f3f9714ab7285bacfe32242fbab4f589e1db10739bdfa0f3f069614ebc90168ae45b6718676bc8a78327d7fe90
|
7
|
+
data.tar.gz: c71099228d3030f93e8b99eae8b03c35c24bcaacf0554b4d1115aced7fe99fea31e33ce3d7ffff285369ac6993343861fa2c126cc851983fc3c5ac0a907895dc
|
@@ -5,7 +5,9 @@ import { GenericObject } from "../../types"
|
|
5
5
|
|
6
6
|
import { GlobalProps } from "../../utilities/globalProps"
|
7
7
|
|
8
|
-
import
|
8
|
+
import Flex from "../../pb_flex/_flex"
|
9
|
+
import FlexItem from "../../pb_flex/_flex_item"
|
10
|
+
import Icon from "../../pb_icon/_icon"
|
9
11
|
|
10
12
|
import AdvancedTableContext from "../Context/AdvancedTableContext"
|
11
13
|
|
@@ -5,7 +5,8 @@ import { GenericObject } from "../../types"
|
|
5
5
|
|
6
6
|
import { GlobalProps } from "../../utilities/globalProps"
|
7
7
|
|
8
|
-
import
|
8
|
+
import Flex from "../../pb_flex/_flex"
|
9
|
+
import Caption from "../../pb_caption/_caption"
|
9
10
|
|
10
11
|
import { ToggleIconButton } from "./ToggleIconButton"
|
11
12
|
import { renderCollapsibleTrail } from "./CollapsibleTrail"
|
@@ -6,7 +6,7 @@ import { GenericObject } from "../../types"
|
|
6
6
|
|
7
7
|
import { GlobalProps } from "../../utilities/globalProps"
|
8
8
|
|
9
|
-
import
|
9
|
+
import Flex from "../../pb_flex/_flex"
|
10
10
|
|
11
11
|
import { SortIconButton } from "./SortIconButton"
|
12
12
|
import { ToggleIconButton } from "./ToggleIconButton"
|
@@ -8,7 +8,7 @@ import { buildCss } from "../../utilities/props"
|
|
8
8
|
import { globalProps } from "../../utilities/globalProps"
|
9
9
|
import { isChrome } from "../Utilities/BrowserCheck"
|
10
10
|
|
11
|
-
import
|
11
|
+
import LoadingInline from "../../pb_loading_inline/_loading_inline"
|
12
12
|
|
13
13
|
import { SubRowHeaderRow } from "../Components/SubRowHeaderRow"
|
14
14
|
import { LoadingCell } from "../Components/LoadingCell"
|
@@ -2,13 +2,12 @@
|
|
2
2
|
|
3
3
|
import classnames from 'classnames'
|
4
4
|
import React, { useContext } from 'react'
|
5
|
-
import { Flex, FlexItem } from 'playbook-ui'
|
6
|
-
|
7
5
|
import { buildCss } from '../../utilities/props'
|
8
6
|
import { globalProps } from '../../utilities/globalProps'
|
9
7
|
|
10
|
-
import
|
11
|
-
|
8
|
+
import Flex from '../../pb_flex/_flex'
|
9
|
+
import FlexItem from '../../pb_flex/_flex_item'
|
10
|
+
import { IconSizes } from "../../pb_icon/_icon"
|
12
11
|
import CollapsibleContext from '../context'
|
13
12
|
import CollapsibleIcon from './CollapsibleIcon'
|
14
13
|
|
@@ -4,7 +4,9 @@ import classnames from 'classnames'
|
|
4
4
|
import { buildCss, buildHtmlProps } from '../../utilities/props'
|
5
5
|
import { GlobalProps, globalProps } from '../../utilities/globalProps'
|
6
6
|
|
7
|
-
import
|
7
|
+
import Flex from '../../pb_flex/_flex'
|
8
|
+
import SectionSeparator from '../../pb_section_separator/_section_separator'
|
9
|
+
|
8
10
|
|
9
11
|
type DialogFooterProps = {
|
10
12
|
aria?: {[key: string]: string},
|
@@ -5,8 +5,8 @@ import { globalProps, GlobalProps } from '../../utilities/globalProps'
|
|
5
5
|
|
6
6
|
import { CloseIcon } from '../_close_icon'
|
7
7
|
import { DialogContext } from '../_dialog_context'
|
8
|
-
|
9
|
-
import
|
8
|
+
import Flex from '../../pb_flex/_flex'
|
9
|
+
import SectionSeparator from '../../pb_section_separator/_section_separator'
|
10
10
|
|
11
11
|
type DialogHeaderProps = {
|
12
12
|
aria?: {[key: string]: string},
|
@@ -10,7 +10,10 @@ import { globalProps } from "../../utilities/globalProps";
|
|
10
10
|
|
11
11
|
import DropdownContext from "../context";
|
12
12
|
|
13
|
-
import
|
13
|
+
import List from "../../pb_list/_list";
|
14
|
+
import ListItem from "../../pb_list/_list_item";
|
15
|
+
import TextInput from "../../pb_text_input/_text_input";
|
16
|
+
import Body from "../../pb_body/_body";
|
14
17
|
|
15
18
|
type DropdownContainerProps = {
|
16
19
|
aria?: { [key: string]: string };
|
@@ -1,7 +1,5 @@
|
|
1
1
|
import React, { useContext } from "react";
|
2
2
|
import classnames from "classnames";
|
3
|
-
import { Body, ListItem } from "playbook-ui";
|
4
|
-
|
5
3
|
import {
|
6
4
|
buildAriaProps,
|
7
5
|
buildCss,
|
@@ -11,6 +9,9 @@ import {
|
|
11
9
|
import { globalProps, GlobalProps } from "../../utilities/globalProps";
|
12
10
|
|
13
11
|
import DropdownContext from "../context";
|
12
|
+
|
13
|
+
import Body from "../../pb_body/_body";
|
14
|
+
import ListItem from "../../pb_list/_list_item";
|
14
15
|
import { GenericObject } from "../../types";
|
15
16
|
|
16
17
|
type DropdownOptionProps = {
|
@@ -1,7 +1,5 @@
|
|
1
1
|
import React, { useContext } from "react";
|
2
2
|
import classnames from "classnames";
|
3
|
-
import { Body, Icon, Flex, FlexItem } from "playbook-ui";
|
4
|
-
|
5
3
|
import {
|
6
4
|
buildAriaProps,
|
7
5
|
buildCss,
|
@@ -13,6 +11,11 @@ import { useHandleOnKeyDown } from "../hooks/useHandleOnKeydown";
|
|
13
11
|
|
14
12
|
import DropdownContext from "../context";
|
15
13
|
|
14
|
+
import Body from "../../pb_body/_body";
|
15
|
+
import Icon from "../../pb_icon/_icon";
|
16
|
+
import Flex from "../../pb_flex/_flex";
|
17
|
+
import FlexItem from "../../pb_flex/_flex_item";
|
18
|
+
|
16
19
|
type DropdownTriggerProps = {
|
17
20
|
aria?: { [key: string]: string };
|
18
21
|
children?: React.ReactChild[] | React.ReactChild;
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import React from 'react'
|
2
2
|
import { isEmpty, map, omitBy } from 'lodash'
|
3
3
|
|
4
|
-
import
|
4
|
+
import Body from '../../pb_body/_body'
|
5
|
+
import Caption from '../../pb_caption/_caption'
|
6
|
+
import Title from '../../pb_title/_title'
|
5
7
|
|
6
8
|
export type FilterDescription = {
|
7
9
|
[key: string]: string | null | boolean,
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import React from 'react'
|
2
2
|
import classnames from 'classnames'
|
3
|
-
import { Card } from 'playbook-ui'
|
4
3
|
|
5
4
|
import { GlobalProps, globalProps } from '../../utilities/globalProps'
|
6
5
|
|
6
|
+
import Card from '../../pb_card/_card'
|
7
|
+
|
7
8
|
export type FilterBackgroundProps = {
|
8
9
|
background: boolean,
|
9
10
|
className: string,
|
@@ -10,7 +10,9 @@ import SortMenu, {
|
|
10
10
|
SortValue,
|
11
11
|
} from './SortMenu'
|
12
12
|
|
13
|
-
import
|
13
|
+
import Caption from '../../pb_caption/_caption'
|
14
|
+
import Flex from '../../pb_flex/_flex'
|
15
|
+
import SectionSeparator from '../../pb_section_separator/_section_separator'
|
14
16
|
|
15
17
|
export type FilterDoubleProps = {
|
16
18
|
children?: React.ReactChild[] | React.ReactChild,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react'
|
2
2
|
import { isEmpty } from 'lodash'
|
3
3
|
|
4
|
-
import
|
4
|
+
import Flex from '../../pb_flex/_flex'
|
5
5
|
|
6
6
|
import CurrentFilters, { FilterDescription } from './CurrentFilters'
|
7
7
|
import FilterBackground, { FilterBackgroundProps } from './FilterBackground'
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import React, { ReactNode, useState } from 'react'
|
2
|
-
|
2
|
+
|
3
|
+
import CircleIconButton from '../../pb_circle_icon_button/_circle_icon_button'
|
4
|
+
import PbReactPopover from '../../pb_popover/_popover'
|
3
5
|
|
4
6
|
type FiltersPopoverProps = {
|
5
7
|
children?: React.ReactChild[] | React.ReactChild | (({closePopover}: {closePopover: () => void}) => ReactNode),
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import React from 'react'
|
2
2
|
|
3
|
-
import
|
3
|
+
import Caption from '../../pb_caption/_caption'
|
4
|
+
import TitleCount from '../../pb_title_count/_title_count'
|
4
5
|
|
5
6
|
const resultsText = (results: number): string => results == 1 ? 'Result' : 'Results'
|
6
7
|
|
@@ -1,7 +1,11 @@
|
|
1
1
|
import React, { useState } from 'react'
|
2
2
|
import { find, map, partial } from 'lodash'
|
3
3
|
|
4
|
-
import
|
4
|
+
import Button from '../../pb_button/_button'
|
5
|
+
import Icon from '../../pb_icon/_icon'
|
6
|
+
import List from '../../pb_list/_list'
|
7
|
+
import ListItem from '../../pb_list/_list_item'
|
8
|
+
import PbReactPopover from '../../pb_popover/_popover'
|
5
9
|
|
6
10
|
export type Direction = 'asc' | 'desc'
|
7
11
|
export type SortOptions = { [name: string]: string }
|
@@ -10,7 +10,12 @@ import {
|
|
10
10
|
import { globalProps, GlobalProps } from "../../utilities/globalProps";
|
11
11
|
import { LightboxContext } from "../_lightbox_context";
|
12
12
|
|
13
|
-
import
|
13
|
+
import CircleIconButton from "../../pb_circle_icon_button/_circle_icon_button";
|
14
|
+
import Caption from "../../pb_caption/_caption";
|
15
|
+
import Flex from "../../pb_flex/_flex";
|
16
|
+
import FlexItem from "../../pb_flex/_flex_item";
|
17
|
+
import Title from "../../pb_title/_title";
|
18
|
+
import Button from "../../pb_button/_button";
|
14
19
|
|
15
20
|
type LightboxHeaderProps = {
|
16
21
|
aria?: { [key: string]: string };
|
@@ -1,5 +1,9 @@
|
|
1
1
|
import React from "react";
|
2
|
-
|
2
|
+
|
3
|
+
import Icon from "../../pb_icon/_icon";
|
4
|
+
import Flex from "../../pb_flex/_flex";
|
5
|
+
import Tooltip from "../../pb_tooltip/_tooltip";
|
6
|
+
|
3
7
|
|
4
8
|
type EditorButtonProps = {
|
5
9
|
classname?: string,
|
@@ -1,6 +1,10 @@
|
|
1
1
|
import React, { useState } from 'react'
|
2
2
|
|
3
|
-
import
|
3
|
+
import Flex from '../../pb_flex/_flex'
|
4
|
+
import PbReactPopover from '../../pb_popover/_popover'
|
5
|
+
import Icon from '../../pb_icon/_icon'
|
6
|
+
import Nav from '../../pb_nav/_nav'
|
7
|
+
import NavItem from '../../pb_nav/_item'
|
4
8
|
|
5
9
|
const MoreExtensionsDropdown = ({extensions}: any) => {
|
6
10
|
const [showPopover, setShowPopover] = useState(false)
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import React from "react";
|
2
|
-
|
3
|
-
import
|
2
|
+
import Background from "../../pb_background/_background";
|
3
|
+
import Flex from "../../pb_flex/_flex";
|
4
|
+
import FlexItem from "../../pb_flex/_flex_item";
|
5
|
+
import SectionSeparator from "../../pb_section_separator/_section_separator";
|
4
6
|
|
5
7
|
import EditorButton from "./EditorButton";
|
6
8
|
import ToolbarDropdown from "./ToolbarDropdown";
|
@@ -1,6 +1,11 @@
|
|
1
1
|
import React, { useState } from 'react'
|
2
2
|
|
3
|
-
import
|
3
|
+
import Flex from '../../pb_flex/_flex'
|
4
|
+
import PbReactPopover from '../../pb_popover/_popover'
|
5
|
+
import Button from '../../pb_button/_button'
|
6
|
+
import Icon from '../../pb_icon/_icon'
|
7
|
+
import Nav from '../../pb_nav/_nav'
|
8
|
+
import NavItem from '../../pb_nav/_item'
|
4
9
|
|
5
10
|
import { ToolbarTypes } from './EditorTypes'
|
6
11
|
|
@@ -1,19 +1,18 @@
|
|
1
1
|
import React, { useEffect, useState } from 'react'
|
2
2
|
import classnames from 'classnames'
|
3
|
+
import Trix from "trix"
|
4
|
+
import { TrixEditor } from "react-trix"
|
5
|
+
|
3
6
|
import inlineFocus from './inlineFocus'
|
4
7
|
import useFocus from './useFocus'
|
5
8
|
import { globalProps, GlobalProps } from '../utilities/globalProps'
|
6
9
|
import { buildAriaProps, buildDataProps, noop, buildHtmlProps } from '../utilities/props'
|
7
10
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
inheritable: true,
|
13
|
-
}
|
14
|
-
} catch (_e) { /* do nothing */ }
|
11
|
+
Trix.config.textAttributes.inlineCode = {
|
12
|
+
tagName: 'code',
|
13
|
+
inheritable: true,
|
14
|
+
}
|
15
15
|
|
16
|
-
import { TrixEditor } from "react-trix"
|
17
16
|
import EditorToolbar from './TipTap/Toolbar'
|
18
17
|
|
19
18
|
type Editor = {
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import React from "react";
|
2
|
-
import { RichTextEditor } from "playbook-ui";
|
3
2
|
import { render } from "../utilities/test-utils";
|
4
3
|
import { useEditor, EditorContent } from "@tiptap/react";
|
5
4
|
import StarterKit from "@tiptap/starter-kit";
|
6
5
|
import Link from "@tiptap/extension-link";
|
7
6
|
|
7
|
+
import RichTextEditor from "./_rich_text_editor";
|
8
|
+
|
8
9
|
const kitClass = "pb_rich_text_editor_advanced_container";
|
9
10
|
|
10
11
|
const EditorTest = (props) => {
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import React from 'react'
|
2
2
|
import { components } from 'react-select'
|
3
|
-
import { Badge, FormPill } from 'playbook-ui'
|
4
3
|
|
4
|
+
import Badge from '../../pb_badge/_badge'
|
5
|
+
import FormPill from '../../pb_form_pill/_form_pill'
|
5
6
|
import { SelectValueType } from '../_typeahead'
|
6
7
|
|
7
8
|
type Props = {
|