playbook_ui 13.27.0.pre.alpha.PLAY11782916 → 13.27.0.pre.alpha.PLAY11782918

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ab90f7ab88ce3c08dab648348d07d1d0d7d3371e0505fba524e33a7b1b0ab63
4
- data.tar.gz: 6a1e8caa7ed0789d8ea721a2bed9e5607dfd79eef8c69630c685ef92bc871431
3
+ metadata.gz: 6466216ec4562410f156f78c56d5b5cea39128fc2d3a7bd9070cfa52d60bc1b0
4
+ data.tar.gz: 9a879d1ac8668679cab39c6b3a0020e8cd43a22f9edf1e00b7500a711ac394e2
5
5
  SHA512:
6
- metadata.gz: 0256e512d2e19f5f8dbec2e12b36221df30d57a53b11f4fd6f07c67d7a1dc9c32dd3758f7f8a3f8d871fe7de064148ec0b084c3899bd3720cf68683e539c335f
7
- data.tar.gz: 60e3ef6787a0a5fe6508845dbac95c077d68421b9b9df186084f739fbfbf7b57e0ea94b6e144750e67f9ddca48031468541a6558fce0c3f5d8c6b912f2d88d9f
6
+ metadata.gz: 5527730cce4f26a72a3fd514b746538ef7032e3bd571bb2a9af9692182c0f7c01d5b695fe134aa33ac2e94f9877b0d6c963475ce12b8a47287997159387a99aa
7
+ data.tar.gz: 16f4a1a26d5b277a2a420e35868d44cc933d49e0b8b0aaf13c6b2bba46bd151bd57e0710f5dfa025d61a4209064b40a42aa9907323a2142440b99303bf13ab38
@@ -19,7 +19,7 @@ export type IconSizes = "lg"
19
19
  | "10x"
20
20
  | ""
21
21
 
22
- export type IconProps = {
22
+ type IconProps = {
23
23
  aria?: {[key: string]: string},
24
24
  border?: string,
25
25
  className?: string,
@@ -102,6 +102,9 @@
102
102
  pointer-events: none;
103
103
  }
104
104
  &.inline {
105
+ svg {
106
+ right: 6px;
107
+ }
105
108
  @mixin active_arrow_style {
106
109
  svg {
107
110
  color: $primary !important;
@@ -130,6 +133,7 @@
130
133
  box-shadow: none;
131
134
  border-color: transparent;
132
135
  padding: 4px 8px;
136
+ padding-right: $space_lg;
133
137
  border-radius: 4px;
134
138
  option {
135
139
  background-color: $white;
@@ -213,6 +217,9 @@
213
217
  }
214
218
  }
215
219
  &.inline {
220
+ svg {
221
+ right: 6px;
222
+ }
216
223
  &:not(:hover) {
217
224
  svg {
218
225
  display: none;
@@ -233,6 +240,7 @@
233
240
  border-color: transparent;
234
241
  background: transparent;
235
242
  padding: 4px 8px;
243
+ padding-right: $space_lg;
236
244
  border-radius: 4px;
237
245
  option {
238
246
  background-color: $white;
@@ -7,7 +7,7 @@ import type { InputCallback } from '../types'
7
7
 
8
8
  import Body from '../pb_body/_body'
9
9
  import Caption from '../pb_caption/_caption'
10
- import Icon, { IconProps } from '../pb_icon/_icon'
10
+ import Icon from '../pb_icon/_icon'
11
11
 
12
12
  type SelectOption = {
13
13
  value: string,
@@ -25,7 +25,6 @@ type SelectProps = {
25
25
  disabled?: boolean,
26
26
  error?: string,
27
27
  htmlOptions?: {[key: string]: string | number | boolean | (() => void)},
28
- iconProps?: IconProps,
29
28
  id?: string,
30
29
  includeBlank?: string,
31
30
  inline?: boolean,
@@ -37,7 +36,6 @@ type SelectProps = {
37
36
  onChange: InputCallback<HTMLSelectElement>,
38
37
  options: SelectOption[],
39
38
  required?: boolean,
40
- selectProps?: GlobalProps & { [key: string]: any },
41
39
  showArrow?: boolean,
42
40
  value?: string,
43
41
  } & GlobalProps
@@ -61,7 +59,6 @@ const Select = ({
61
59
  data = {},
62
60
  disabled = false,
63
61
  error,
64
- iconProps,
65
62
  label,
66
63
  htmlOptions = {},
67
64
  inline = false,
@@ -70,7 +67,6 @@ const Select = ({
70
67
  onChange = () => undefined,
71
68
  options = [],
72
69
  required = false,
73
- selectProps = {},
74
70
  showArrow = false,
75
71
  value,
76
72
  ...props
@@ -94,12 +90,6 @@ const Select = ({
94
90
  compactClass
95
91
  );
96
92
 
97
- const selectClasses = classnames(
98
- buildCss('pb_html_select'),
99
- globalProps(selectProps),
100
- selectProps.className
101
- )
102
-
103
93
  const selectWrapperClass = classnames(buildCss('pb_select_kit_wrapper'), { error }, className)
104
94
  const selectBody =(() =>{
105
95
  if (children) return children
@@ -107,7 +97,6 @@ const Select = ({
107
97
  <select
108
98
  {...htmlOptions}
109
99
  {...domSafeProps(props)}
110
- className={selectClasses}
111
100
  disabled={disabled}
112
101
  id={name}
113
102
  multiple={multiple}
@@ -148,7 +137,6 @@ const Select = ({
148
137
  className="pb_select_kit_caret"
149
138
  fixedWidth
150
139
  icon="angle-down"
151
- {...iconProps}
152
140
  />
153
141
  :
154
142
  null
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "13.27.0"
5
- VERSION = "13.27.0.pre.alpha.PLAY11782916"
5
+ VERSION = "13.27.0.pre.alpha.PLAY11782918"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.27.0.pre.alpha.PLAY11782916
4
+ version: 13.27.0.pre.alpha.PLAY11782918
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-05-16 00:00:00.000000000 Z
12
+ date: 2024-05-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack