Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delightful studio revision #1049

Merged
merged 262 commits into from
Nov 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
262 commits
Select commit Hold shift + click to select a range
f15f204
[default-layout] Componentify search and story
Oct 19, 2018
5599a41
[base] Fix missing attributes
mariuslundgard Oct 22, 2018
151910b
[base] Add updated icons: Plus, Search, ViewColumn
mariuslundgard Oct 22, 2018
282692d
[default-layout] Componentify default-layout
Oct 22, 2018
6405547
[base] Global body styles
Oct 22, 2018
36d1cda
[default-layout] Adjust sizes and paddding of branding and login status
mariuslundgard Oct 22, 2018
cd1a2eb
[all] Use official react-tippy and fix tooltip on publish button
Oct 22, 2018
cc3c93c
[base] Adjust ViewColumn icon
mariuslundgard Oct 22, 2018
8d19f41
[base] Replace Plug icon
mariuslundgard Oct 22, 2018
df5d73b
[components] Fix popover style
Oct 22, 2018
dd64cde
[form-builder] Ink on array items and center dragHandle
Oct 22, 2018
22aebea
[desk-tool] Fix publish button tooltip render
Oct 22, 2018
e4e8583
[components] Move className to new popper container
Oct 22, 2018
2d4c288
[base] Replace Visibility icon
mariuslundgard Oct 22, 2018
0ea3c00
[vision] Use default Visibility icon
mariuslundgard Oct 22, 2018
35beff2
[default-layout] Add complete example story
mariuslundgard Oct 22, 2018
1396c4a
[default-layout] Begin updating Search styles
mariuslundgard Oct 22, 2018
9c11fb6
[base] Replace Hamburger icon
mariuslundgard Oct 22, 2018
2fee41f
[default-layout] Use new Hamburger icon
mariuslundgard Oct 22, 2018
c1a815b
[components] Center spinner in button to avoid resizing
Oct 22, 2018
25583e6
[base] No global hover on link
Oct 22, 2018
8f3df96
[components] Show button loading on examples story
Oct 22, 2018
aa824fc
[components] Align pane header buttons
Oct 22, 2018
de68d78
[components] No spellCheck on searchableSelect
Oct 22, 2018
17bf65c
[default-layout] Misc. cleanup
mariuslundgard Oct 22, 2018
dd939b0
[default-layout] Fix tippy
Oct 23, 2018
f31dd72
[all] Cleanup CSS variables for better theming
Oct 25, 2018
a219020
[components] Tweaking select components
Oct 25, 2018
d51a4d5
[components] Buttoncollection, story and buttons cleanup
Oct 25, 2018
6782afc
[components] Dialogs cleanup and story
Oct 25, 2018
b438c12
[vision] Nicer UI on vision
Oct 25, 2018
b7ad8ed
[components] Nicer spinner with story
Oct 25, 2018
a8286c9
[components] Story cleanup on fieldsets and fileinput
Oct 25, 2018
acb30cf
[default-layout] Remove title on action modal
Oct 25, 2018
d034ccd
[desk-tool] Pane item selected state fix
Oct 25, 2018
8daa625
[form-builder] Remove gap in arrayOfPrimitiveInput
Oct 25, 2018
9a8d4ef
[form-builder] ButtonCollection on ImageInput
Oct 25, 2018
a0822d6
[form-builder] Using css variables on imageInput
Oct 25, 2018
8e7eb6f
[form-builder] SelectAsset quick fix
Oct 25, 2018
0bc2f8e
[base] Update SVG markup
mariuslundgard Oct 26, 2018
e704ebe
[base] Replace CloseIcon
mariuslundgard Oct 26, 2018
0604d87
[components] InProgress indication on progress-bar/circle
Oct 26, 2018
0cf100d
[components] Animating collapsing of panes
Oct 26, 2018
8fdf904
[components] Cleaning up story
Oct 29, 2018
93cb9bc
[components] Tweaking previews
Oct 29, 2018
121e418
[components] Fixing radio select
Oct 29, 2018
807b10e
[default-layout] Implement revised menu and search
mariuslundgard Oct 29, 2018
c16f099
[form-builder] Move image functions close to image
Oct 29, 2018
1e61a0d
[default-layout] Add responsive max-height for search results (desktop)
mariuslundgard Oct 29, 2018
3365693
[default-layout] Fix CSS composition for search result links
mariuslundgard Oct 29, 2018
61f7958
[default-layout] Show hotkeys affordance only when search field is fo…
mariuslundgard Oct 29, 2018
41c229f
[default] Show clear button only when value is set (desktop)
mariuslundgard Oct 29, 2018
0f68463
[default-layout] Scroll active search result into view
mariuslundgard Oct 29, 2018
712098f
[components] Increase emphasis on pane titles
mariuslundgard Oct 29, 2018
45ab563
[base] Replace MoreVert icon
mariuslundgard Oct 29, 2018
3b8029c
[components] Invert preview status icons
mariuslundgard Oct 29, 2018
2f6db07
[components] Remove upper case transformation
mariuslundgard Oct 29, 2018
daab109
[base] Replace SignOut icon
mariuslundgard Oct 30, 2018
e06e58e
[default-layout] Refactor and implement updated SideMenu
mariuslundgard Oct 30, 2018
e131b9d
[default-layout] Disable scrolling the mainarea when overlays are vis…
mariuslundgard Oct 30, 2018
ec8a08f
[default-layout] Use shadow composition and fix vars
mariuslundgard Oct 30, 2018
5bc2c1a
[default-layout] Update shade/frosting color
mariuslundgard Oct 30, 2018
81dc6c1
[base] Invalid and focus on input and fieldset
Oct 29, 2018
62ed0fe
[components] Cleanup buttons
Oct 30, 2018
c3629aa
[default-layout] Clean up search
Oct 30, 2018
32c6868
[components] Tweaking dialogs
Oct 30, 2018
5658356
[components] Preview status inherit color
Oct 30, 2018
9eeb4db
[components] Focus on fieldset
Oct 30, 2018
d4a6495
[default-layout] Set pane titles in bold (700)
mariuslundgard Oct 30, 2018
c8dc25d
[form-builder] Focus on baseDateinput and upload
Oct 31, 2018
71607e1
[base] Variables cleanup
Oct 31, 2018
451e04e
[components] Support bleed prop on button
Oct 31, 2018
51ee2c4
[components] Padding on items in searchable select
Oct 31, 2018
59ca162
[components] Dialog story and tweaking dialog
Oct 31, 2018
c03ac1a
[components] Use correct legend variable variable
Oct 31, 2018
c72ba40
[compnents] Use theme colors in storybook
Oct 31, 2018
5b01e9c
[desk-tool] Publish info on bottom
Oct 31, 2018
b30bacb
[form-builder] Change variable name from error to invalid
Oct 31, 2018
d0cb83b
[components] Fix nesting of animated collapsible fieldsets
Oct 31, 2018
0a96467
[components] Dialog fixes
Oct 31, 2018
88933da
[default-layout] Mobile fix for action modal
Oct 31, 2018
53d4c6e
[test-studio] Description on recursive madness
Oct 31, 2018
1bbfef2
[base] Make sure media max-queries do not overlap with min-queries
mariuslundgard Oct 31, 2018
a102f93
[components] Fixing actions on dialogs
Oct 31, 2018
6f4ba71
[components] Shadow cut off in pane
Oct 31, 2018
a2e6a23
[desk-tool] Confirm discard fix
Oct 31, 2018
cb5a4f2
[desk-tool] Shadow fix on publish info
Oct 31, 2018
acb1ca4
[form-builder] Support popover in array
Oct 31, 2018
918e370
[components] Arrow and focus on style select
Oct 31, 2018
136d3c8
[default-layout] Merge search changes from next
Oct 31, 2018
ea182c6
[components] Remove transitions
Nov 1, 2018
5a33343
[components] Performant dialog animation
Nov 1, 2018
8b5409f
[components] Shadow on arrow and hasAnimation prop
Nov 1, 2018
0504e33
[desk-tool] Confirm discard with popover
Nov 1, 2018
ce1b199
[default-layout] Add responsiveness
mariuslundgard Nov 1, 2018
428a8f1
[default-layout] Fix project name
mariuslundgard Nov 2, 2018
56f1604
[default-layout] Set max-width on branding
mariuslundgard Nov 2, 2018
166bae5
[default-layout] Update DefaultPane’s header height
mariuslundgard Nov 2, 2018
8f67002
[components] Update header buttons
mariuslundgard Nov 2, 2018
b7c571f
[form-builder] Cleaning up date-picker
Nov 2, 2018
76b6a86
[base] CSS variables cleanup
Nov 2, 2018
2564dc9
[default-layout] Variables in side menu
Nov 2, 2018
abc5c37
[vision] Use global CSS variables
Nov 2, 2018
408785b
[base] Use CSS variables for tippy’s border radius
mariuslundgard Nov 2, 2018
3a99e2c
[base] Update border radius values
mariuslundgard Nov 2, 2018
0685d76
[components] Make bleeding buttons have the same size as other buttons
mariuslundgard Nov 2, 2018
6a60d0e
[desk-tool] Update publish info layout
mariuslundgard Nov 2, 2018
639260c
[components] Make validation list items have the same border radius a…
mariuslundgard Nov 2, 2018
9cc5da8
[default-layout] Add hover and active effects
mariuslundgard Nov 2, 2018
578c80d
[components] Delay spinner
Nov 2, 2018
c47df63
[desk-tool] Remove Ink on Pane items
Nov 2, 2018
94300a8
[components] Transparent button
Nov 2, 2018
73473fe
[components] No null value on select
Nov 2, 2018
45a2b6c
[desk-tool] Remove Ink from paneItems
Nov 2, 2018
51c0545
[components] Fix popover header close cross
Nov 2, 2018
a099515
[all] Standarize color variables naming and story
Nov 2, 2018
0373ad8
[components] Stop Header status (validation) from take more space
Nov 5, 2018
509e302
[form-builder] Fix array items vertical space
Nov 5, 2018
02249bb
[form-builder] Chevron color on baseDateTimeInput
Nov 5, 2018
51c740e
[base] Update selectable colors
mariuslundgard Nov 5, 2018
1a62746
[base] Add primary button color
mariuslundgard Nov 5, 2018
ac71df7
[components] Implement primary button color
mariuslundgard Nov 5, 2018
f6ee2a6
[components] Progress inherits default colors
Nov 5, 2018
52cad59
[components] Fix border-radius on file upload button
Nov 5, 2018
62f56fb
[desk-tool] Update editor dates
mariuslundgard Nov 6, 2018
a8ecc3a
[base] Add drawer layer z-index
mariuslundgard Nov 6, 2018
bd572c3
[default-layout] Update z-indices
mariuslundgard Nov 6, 2018
190fb0b
[default-layout] Remove ink from navbar
mariuslundgard Nov 6, 2018
b955a07
[default-layout] Update navbar responsiveness logic
mariuslundgard Nov 6, 2018
3d57476
[default-layout] Add tool switcher hover effect
mariuslundgard Nov 6, 2018
e2ccc0a
[base] Update text input styles
mariuslundgard Nov 6, 2018
588b96f
[desk-tool] Align pane item status icons
mariuslundgard Nov 6, 2018
0a07b30
[form-builder] Adding portal to datepicker to prevent cutting
Nov 6, 2018
99bb274
[components] Revise PopOver styling
mariuslundgard Nov 6, 2018
4597feb
[desk-tool] Update editor’s popovers
mariuslundgard Nov 6, 2018
482dc1f
[base] Use viewport-fit=cover
mariuslundgard Nov 6, 2018
b768854
[desk-tool] Use env(safe-area-inset-bottom) for publishInfo
mariuslundgard Nov 6, 2018
73258c8
[default-layout] Remove hidden overflow
mariuslundgard Nov 6, 2018
07d01b0
[components] Make shadow reflect window scroll position
mariuslundgard Nov 6, 2018
4902159
[desk-tool] Remove top border of empty document list panes
mariuslundgard Nov 6, 2018
214b014
[default-layout] Prevent clickable tooltip on touch devices
Nov 6, 2018
bd4a97f
[base] Cleanup backgrounds css
Nov 6, 2018
557d68f
[components] Use fixed poppable for dropdown (mobile fix)
Nov 6, 2018
c6ae92a
[components] Add padding to fullscreenDialog and inverted danger
Nov 6, 2018
5dbf345
[components] Use hover media query on buttons
Nov 6, 2018
a0639cd
[components] Fixed popper on dropdownbutton
Nov 6, 2018
4d0aecd
[form-builder] Default upload button
Nov 6, 2018
044da13
[components] No border on close button
Nov 6, 2018
effb6ff
[desk-tool] Cleanup delete dialog
Nov 6, 2018
adc7dba
[desk-tool] Show delete dialog when discarding unpublished
Nov 6, 2018
5412d32
[components] Adding isInProgress to story
Nov 6, 2018
c596e4d
[components] Use flex on buttonsCollection on mobile
Nov 6, 2018
2cab3a1
[form-builder] Remove ink from array items
Nov 6, 2018
c9ccebe
[components] Removing deprecated search-input from story
Nov 6, 2018
82a6991
[rick-date-input] Removing unused variables
Nov 6, 2018
8ba2c66
[base] Set button colors
mariuslundgard Nov 6, 2018
cc46dd3
[components] Update button colors
mariuslundgard Nov 6, 2018
0598912
[components] Smoother validation list animation
Nov 7, 2018
34daf38
[components] ValidationList in formfield fix
Nov 7, 2018
bcef49e
[components] Loading fieldset when collapsible&notToggeled&!collapsed
Nov 7, 2018
b0db5c2
[components] Fixed height on buttons collection
Nov 7, 2018
60e78c4
[components] DefaultDialog footer shadow when content overflows
Nov 7, 2018
a52407d
[form-builder] No false popperContainer to date-picker
Nov 7, 2018
aeeecc0
[default-layout] Fullscreen action modal
Nov 7, 2018
50209f8
[color-input] Make buttons inverted
mariuslundgard Nov 7, 2018
06e8688
[form-builder] Make buttons inverted
mariuslundgard Nov 7, 2018
5335375
[components] Fix and cleanup tags
Nov 7, 2018
3930070
[components] Smaller text on progress circle
Nov 7, 2018
9573963
[components] Hide spin-buttons on number inputs
Nov 7, 2018
1ab932a
[form-builder] Numpad on mobile if only positive numbers is preferred
Nov 7, 2018
8b91de5
[base] Modify global background colors
mariuslundgard Nov 7, 2018
d6759b9
[components] Add min/max width props to DefaultPane, and use componen…
mariuslundgard Nov 7, 2018
079c36a
[desk-tool] Set Editor max width
mariuslundgard Nov 7, 2018
82255ca
[components] Avoid strange grid behavior
Nov 7, 2018
1ae6b78
[all] Restrict variations of shadows used
mariuslundgard Nov 7, 2018
ab21800
[default-layout] Move to normal dependencies
Nov 7, 2018
069ddaa
[form-builder] Update SlugInput button
mariuslundgard Nov 7, 2018
2e5aa00
[default-layout] Fix overlay shade
mariuslundgard Nov 8, 2018
8abad8f
[base] Update color overrides
mariuslundgard Nov 8, 2018
6799970
[default-layout] Improve tabbing behavior
mariuslundgard Nov 8, 2018
dacb543
[default-layout] Fix hamburger visibility bug
mariuslundgard Nov 8, 2018
1bbdf15
[default-layout] Disable search result scroll on small screens
mariuslundgard Nov 8, 2018
0d9b524
[default-layout] Fix line-height issues in search field
mariuslundgard Nov 8, 2018
9e7d030
[code-input] Fix border and better examples and small fixes
Nov 8, 2018
2ebf191
[base] Update dialog default color
mariuslundgard Nov 8, 2018
2414d92
[components] Update dialog styling
mariuslundgard Nov 8, 2018
118916f
[default-layout] Update hover and focus styling
mariuslundgard Nov 8, 2018
f4483ea
[default-layout] Add item type label
mariuslundgard Nov 8, 2018
636cf1d
[default-layout] Fix misspelled function name
mariuslundgard Nov 8, 2018
4f79a46
[default-layout] Begin SanityStatus
mariuslundgard Nov 8, 2018
02288cd
[base] Add Package icon
mariuslundgard Nov 9, 2018
9ee5374
[components] Update DefaultDialog shadow
mariuslundgard Nov 9, 2018
ac5956d
[default-layout] Add SanityStatus
mariuslundgard Nov 9, 2018
62b779c
[desk-tool] Remove background color
mariuslundgard Nov 9, 2018
2c37e9d
[base] Make shadows slightly darker
mariuslundgard Nov 12, 2018
43bc63b
[base] Update Plug icon
mariuslundgard Nov 12, 2018
0e8b152
[default-layout] Add trick to avoid unwanted focus styling on click
mariuslundgard Nov 12, 2018
84004ff
[server] Correct use of en dash for document title
mariuslundgard Nov 12, 2018
e3d9054
[components] Add padding to pane title to allow for italics
mariuslundgard Nov 12, 2018
5b8ce09
[desk-tool] Display ‘Untitled’ pane title
mariuslundgard Nov 12, 2018
5c3d374
[base] Add safe button colors
mariuslundgard Nov 12, 2018
6022a37
[components] Fix button sizing issues
mariuslundgard Nov 12, 2018
842f1a8
[form-builder] Adjust spacing on small screens
mariuslundgard Nov 12, 2018
2a638d8
[desk-tool] Adjust syncStatus spacing
mariuslundgard Nov 12, 2018
c57969c
[desk-tool] Update microcopy for live-editing
mariuslundgard Nov 12, 2018
a3994cc
[desk-tool] Fix extra interpunct for live editing mode
mariuslundgard Nov 12, 2018
9681e60
[base] Adjust border radius variables
mariuslundgard Nov 12, 2018
66b91f2
[components] Adjust border radiuses
mariuslundgard Nov 12, 2018
f6cc8ef
[form-builder] Adjust border radiuses
mariuslundgard Nov 12, 2018
2d233da
[desk-tool] Fix line height of dates
mariuslundgard Nov 13, 2018
2b754e2
[base] Clean up font smoothing and appearance
mariuslundgard Nov 13, 2018
f2238dc
[default] Clean up font smoothing and appearance
mariuslundgard Nov 13, 2018
28bf873
[components] Update DefaultMenu styling
mariuslundgard Nov 13, 2018
fce0f5a
[base] Global focus color for native outline
Nov 13, 2018
df4c2bf
[components] Refining buttons collection
Nov 13, 2018
2f28eab
[form-builder] Fixing dateTime keyboard navigation
Nov 13, 2018
6a51b36
[components] Focus ring on legend while keyboard navigation
Nov 13, 2018
d782d95
[components] DefautDialog tweaks and no shadow on scroll end
Nov 13, 2018
fef5245
[default-layout] Type in search result as status
Nov 13, 2018
2c91e71
[vision] Tighten Vision visually
Nov 13, 2018
54d368c
[default-layout] Always show clear button when search field is bleeding
mariuslundgard Nov 13, 2018
33a3407
[desk-tool] Add ellipsis to actions that open dialogs
mariuslundgard Nov 13, 2018
05dd90c
[base] Update Tooltip styling
mariuslundgard Nov 13, 2018
7d0619c
[default-layout] Update Tooltip props
mariuslundgard Nov 13, 2018
a400b92
[form-builder] Fixing baseDateTime input
Nov 13, 2018
a40ffbd
[desk-tool] Edit micro copy in publish bar
mariuslundgard Nov 14, 2018
57db6fd
[desk-tool] Add work around for hiding publish bar on devices with on…
mariuslundgard Nov 14, 2018
25a7c8d
[components] Padding and moving close cross when centered
Nov 14, 2018
95d8d37
[desk-tool] Cleaning up dialogs and prepare story for testing
Nov 14, 2018
c9e3ab3
[desk-tool] Update typography and microcopy
mariuslundgard Nov 14, 2018
c43cda1
[form-builder] Make button margins responsive
mariuslundgard Nov 14, 2018
971ee97
[google-maps-input] Make button margins responsive
mariuslundgard Nov 14, 2018
1454186
[components] Adjust split pane resizer color
mariuslundgard Nov 14, 2018
580cb13
[desk-tool] Set maxContentWidth on Editor
Nov 14, 2018
1be402d
[desk-tool] Inspect view improvements (#1048)
bjoerge Nov 14, 2018
6941134
[components] Add focus styling to menu buttons
mariuslundgard Nov 14, 2018
4c1cabf
[all] Remove superfluous CSS comments
mariuslundgard Nov 14, 2018
31a8022
[components] Remove unnecessary compose
mariuslundgard Nov 14, 2018
1af30d2
[default-layout] Disable hotkey
mariuslundgard Nov 14, 2018
459c5db
[default-layout] Hide native clear button (IE/Edge)
mariuslundgard Nov 14, 2018
fcd0f32
[default-layout] Add prop type for versions
mariuslundgard Nov 14, 2018
29ba0b6
[form-builder] Remove unused import
mariuslundgard Nov 14, 2018
28e5431
[components] Fix typo
mariuslundgard Nov 14, 2018
8dbe20a
[default-layout] Disable scrollIntoView as it’s not fully supported b…
mariuslundgard Nov 14, 2018
3e2690b
[components] Explicit props to poppable
Nov 14, 2018
15a1421
[components] Removing comments
kristofferjs Nov 14, 2018
4b89d72
[components] Fix dropdown button overflow scroll (poppable fix)
kristofferjs Nov 15, 2018
15bf202
[default-login] No padding on error dialog
kristofferjs Nov 15, 2018
7c6a444
[components] Align styleselect arrow to right
kristofferjs Nov 15, 2018
f67dc7c
[form-builder] Quick fix block editor fullscreen
kristofferjs Nov 15, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,12 @@
"property-no-unknown": [ true, {
"ignoreProperties": [
"composes",
"compose-with",
"lost-align",
"lost-center",
"lost-column",
"lost-flex-container",
"lost-masonry-column",
"lost-masonry-wrap",
"lost-move",
"lost-offset",
"lost-row",
"lost-unit",
"lost-utility",
"lost-waffle"
"compose-with"
]
}],
"at-rule-no-unknown": [ true, {
"ignoreAtRules": [
"value",
"lost"
"value"
]
}]
}
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@
"semver": "^5.5.0",
"stylelint": "^8.4.0",
"stylelint-config-css-modules": "^1.1.0",
"stylelint-config-lost": "0.0.3",
"stylelint-config-standard": "^18.0.0",
"through2": "^2.0.3",
"typescript": "^2.9.2",
Expand Down
3 changes: 1 addition & 2 deletions packages/@sanity/base/.stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
],
"property-no-unknown": [true, {
"ignoreProperties": [
"composes",
/lost-.+/
"composes"
]
}]
}
Expand Down
1 change: 0 additions & 1 deletion packages/@sanity/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"in-publish": "^2.0.0",
"lodash": "^4.17.4",
"nano-pubsub": "^1.0.2",
"postcss-cssnext": "^3.0.2",
"promise-props": "^1.0.0",
"react-fast-compare": "^2.0.2",
"react-icon-base": "^2.1.2",
Expand Down
20 changes: 12 additions & 8 deletions packages/@sanity/base/sanity.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,6 @@
"name": "part:@sanity/base/theme/forms/text-input-style",
"description": "Styling for <input>"
},
{
"name": "part:@sanity/base/theme/forms/control-style",
"description": "Wrapper for control elements like <input>"
},
{
"name": "part:@sanity/base/theme/forms/textarea-style",
"description": "Styling for <textarea>"
Expand Down Expand Up @@ -430,10 +426,6 @@
"implements": "part:@sanity/base/theme/forms/text-input-style",
"path": "styles/forms/text-input.css"
},
{
"implements": "part:@sanity/base/theme/forms/control-style",
"path": "styles/forms/control.css"
},
{
"implements": "part:@sanity/base/theme/forms/textarea-style",
"path": "styles/forms/textarea.css"
Expand Down Expand Up @@ -590,6 +582,10 @@
"name": "part:@sanity/base/fullscreen-exit-icon",
"description": "Exit fullscreen icon"
},
{
"name": "part:@sanity/base/package-icon",
"description": "Package icon"
},
{
"name": "part:@sanity/base/plus-icon",
"description": "Plus icon"
Expand Down Expand Up @@ -734,6 +730,10 @@
"implements": "part:@sanity/base/fullscreen-exit-icon",
"path": "components/icons/FullscreenExit.js"
},
{
"implements": "part:@sanity/base/package-icon",
"path": "components/icons/Package.js"
},
{
"implements": "part:@sanity/base/plus-icon",
"path": "components/icons/Plus.js"
Expand Down Expand Up @@ -845,6 +845,10 @@
{
"implements": "part:@sanity/base/sanity-studio-logo",
"path": "components/logos/SanityStudioLogo.js"
},
{
"implements": "part:@sanity/base/component",
"path": "styles/variables/story.js"
}
]
}
4 changes: 2 additions & 2 deletions packages/@sanity/base/src/components/Document.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function Document(props) {
{subresources}
{favicons}
</head>
<body>
<body id="sanityBody">
<div id="sanity">
<AppLoadingScreen text={props.loading} />
<NoJavascript />
Expand All @@ -72,7 +72,7 @@ Document.defaultProps = {
basePath: '',
charset: 'utf-8',
title: 'Sanity',
viewport: 'width=device-width, initial-scale=1',
viewport: 'width=device-width, initial-scale=1, viewport-fit=cover',
loading: 'Sanity Content Studio',
staticPath: '/static',
favicons: [{path: 'favicon.ico'}],
Expand Down
17 changes: 16 additions & 1 deletion packages/@sanity/base/src/components/icons/CloseIcon.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
import CloseIcon from 'react-icons/lib/md/close'
import React from 'react'

const strokeStyle = {vectorEffect: 'non-scaling-stroke'}

const CloseIcon = () => (
<svg
viewBox="0 0 25 25"
fill="none"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid"
width="1em"
height="1em"
>
<path d="M19 6L6 19M6 6L19 19" stroke="currentColor" style={strokeStyle} />
</svg>
)

export default CloseIcon
21 changes: 19 additions & 2 deletions packages/@sanity/base/src/components/icons/Hamburger.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
import FaBars from 'react-icons/lib/fa/bars'
import React from 'react'

export default FaBars
const strokeStyle = {vectorEffect: 'non-scaling-stroke'}

const HamburgerIcon = () => (
<svg
viewBox="0 0 25 25"
fill="none"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid"
width="1em"
height="1em"
>
<path d="M5 7.5H20" stroke="currentColor" style={strokeStyle} />
<path d="M5 12.5H20" stroke="currentColor" style={strokeStyle} />
<path d="M5 17.5H20" stroke="currentColor" style={strokeStyle} />
</svg>
)

export default HamburgerIcon
21 changes: 19 additions & 2 deletions packages/@sanity/base/src/components/icons/MoreVert.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
import MdMoreVert from 'react-icons/lib/md/more-vert'
import React from 'react'

export default MdMoreVert
const strokeStyle = {vectorEffect: 'non-scaling-stroke'}

const MoreVertIcon = () => (
<svg
viewBox="0 0 25 25"
fill="none"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid"
width="1em"
height="1em"
>
<circle cx="12.5" cy="6.5" r="1.5" fill="currentColor" style={strokeStyle} />
<circle cx="12.5" cy="12.5" r="1.5" fill="currentColor" style={strokeStyle} />
<circle cx="12.5" cy="18.5" r="1.5" fill="currentColor" style={strokeStyle} />
</svg>
)

export default MoreVertIcon
25 changes: 25 additions & 0 deletions packages/@sanity/base/src/components/icons/Package.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import React from 'react'

const strokeStyle = {vectorEffect: 'non-scaling-stroke'}

const PackageIcon = () => (
<svg
viewBox="0 0 25 25"
fill="none"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid"
width="1em"
height="1em"
>
<path
d="M12.5 4.5L5.5 9V16L12.5 20.5L19.5 16V9L12.5 4.5Z"
stroke="currentColor"
style={strokeStyle}
/>
<path d="M5.5 9L12.5 13.5L19.5 9" stroke="currentColor" style={strokeStyle} />
<path d="M12.5 13.5V20.5" stroke="currentColor" style={strokeStyle} />
<path d="M9 6.5L16 11" stroke="currentColor" style={strokeStyle} />
</svg>
)

export default PackageIcon
26 changes: 24 additions & 2 deletions packages/@sanity/base/src/components/icons/Plug.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
import FaPlug from 'react-icons/lib/fa/plug'
import React from 'react'

export default FaPlug
const strokeStyle = {vectorEffect: 'non-scaling-stroke'}

const PlugIcon = () => (
<svg
viewBox="0 0 25 25"
fill="none"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid"
width="1em"
height="1em"
>
<path
d="M8 13L6 15L9 18L11 16C13.5 17.5 15 18 17 16L18.5 14.5L9.5 5.5L8 7C6 9 6.5 10.5 8 13Z"
stroke="currentColor"
style={strokeStyle}
/>
<path d="M12 8L17 3" stroke="currentColor" style={strokeStyle} />
<path d="M16 12L21 7" stroke="currentColor" style={strokeStyle} />
<path d="M7.5 16.5L2.5 21.5" stroke="currentColor" style={strokeStyle} />
</svg>
)

export default PlugIcon
19 changes: 17 additions & 2 deletions packages/@sanity/base/src/components/icons/Plus.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
import GoPlus from 'react-icons/lib/go/plus'
import React from 'react'

export default GoPlus
const strokeStyle = {vectorEffect: 'non-scaling-stroke'}

const PlusIcon = () => (
<svg
viewBox="0 0 25 25"
fill="none"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid"
width="1em"
height="1em"
>
<path d="M12.5 4V21M4 12.5H21" stroke="currentColor" style={strokeStyle} />
</svg>
)

export default PlusIcon
27 changes: 25 additions & 2 deletions packages/@sanity/base/src/components/icons/Search.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
import Search from 'react-icons/lib/fa/search'
import React from 'react'

export default Search
const strokeStyle = {vectorEffect: 'non-scaling-stroke'}

const SearchIcon = () => (
<svg
viewBox="0 0 25 25"
fill="none"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid"
width="1em"
height="1em"
>
<circle cx="10.5" cy="10.5" r="6" stroke="currentColor" style={strokeStyle} />
<line
x1="14.6036"
y1="14.6464"
x2="20.6069"
y2="20.6498"
stroke="currentColor"
style={strokeStyle}
/>
</svg>
)

export default SearchIcon
20 changes: 18 additions & 2 deletions packages/@sanity/base/src/components/icons/SignOut.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
import FaSignOut from 'react-icons/lib/fa/sign-out'
import React from 'react'

export default FaSignOut
const strokeStyle = {vectorEffect: 'non-scaling-stroke'}

const SignOutIcon = () => (
<svg
viewBox="0 0 25 25"
fill="none"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid"
width="1em"
height="1em"
>
<rect x="3.5" y="5.5" width="14" height="14" stroke="currentColor" style={strokeStyle} />
<path d="M8 12.5H23M21 10L23.5 12.5L21 15" stroke="currentColor" style={strokeStyle} />
</svg>
)

export default SignOutIcon
2 changes: 2 additions & 0 deletions packages/@sanity/base/src/components/icons/SpinnerIcon.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ const SpinnerIcon = () => (
fill="none"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid"
width="1em"
height="1em"
>
<path
d="M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 7.84072 4.53924 4.27455 8.15208 2.76711L7.38316 0.920257C3.04741 2.72903 0 7.00861 0 12C0 18.6274 5.37258 24 12 24C18.6274 24 24 18.6274 24 12C24 7.00842 20.9524 2.72869 16.6163 0.920044L15.8464 2.76647C19.46 4.27354 22 7.84013 22 12Z"
Expand Down
21 changes: 19 additions & 2 deletions packages/@sanity/base/src/components/icons/ViewColumn.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
import MdViewColumn from 'react-icons/lib/md/view-column'
import React from 'react'

export default MdViewColumn
const strokeStyle = {vectorEffect: 'non-scaling-stroke'}

const ViewColumnIcon = () => (
<svg
viewBox="0 0 25 25"
fill="none"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid"
width="1em"
height="1em"
>
<rect x="3.5" y="4.5" width="18" height="16" stroke="currentColor" style={strokeStyle} />
<line x1="9.5" y1="5" x2="9.5" y2="20" stroke="currentColor" style={strokeStyle} />
<line x1="15.5" y1="5" x2="15.5" y2="20" stroke="currentColor" style={strokeStyle} />
</svg>
)

export default ViewColumnIcon
24 changes: 23 additions & 1 deletion packages/@sanity/base/src/components/icons/Visibility.js
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
export {default} from 'react-icons/lib/md/visibility'
import React from 'react'

const strokeStyle = {vectorEffect: 'non-scaling-stroke'}

const VisibilityIcon = () => (
<svg
viewBox="0 0 25 25"
fill="none"
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMidYMid"
width="1em"
height="1em"
>
<path
d="M12.5 6.5C7 6.5 3.5 10.5 2.5 12.5C3.5 14.5 7 18.5 12.5 18.5C18 18.5 21.5 14.5 22.5 12.5C21.5 10.5 18 6.5 12.5 6.5Z"
stroke="currentColor"
style={strokeStyle}
/>
<circle cx="12.5" cy="12.5" r="4" stroke="currentColor" style={strokeStyle} />
</svg>
)

export default VisibilityIcon
Loading